Codedeploy credentials change



I have changed my codedeploy user to another iam user and it seems CI is not able to detect this change. And Codedeploy simply fails. Any chance you might know what is happening? Thanks.

Failed to upload to {u’bucket’: xxxx, u’key’: u’apps/development-729a7ee’} in us-west-2. Check:

  1. Your S3 bucket is in us-west-2
  2. The S3 location is correct for your app
  3. Your AWS credentials are correct
    Unhandled exception
    [Errno 104] Connection reset by peer

and inside /var/log/aws/codedeploy-agent/codedeploy-agent.log:
Aws::CodeDeployCommand::Errors::UnrecognizedClientException The security token included in the request is invalid.

Pretty sure 1.2.3 are all correct…


Did you update your settings as shown here for the new user?