-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use temporary credentials doesn't work as expected #4
Comments
Issue confirmed using:
|
Thank you for bringing this to our attention. We've identified the issue and are working on a fix for it. We will post an update once the fix is rolled out. |
We have pushed updated source to resolve a related issue into the repository but it is not yet available from the Jenkins repository. If you see external ID but not an AWS Account ID using CodeDeploy 1.3 it likely means your instance does not have AWS credentials configured. The temporary credentials option still needs AWS Credentials to call AssumeRole to get the temporary credentials with reduced permissions. Once you configure the Jenkins server with default AWS credentials, you should see the account id show up. |
What if the Jenkins server is not an EC2 instance, but an on-premise machine? Will temporary credentials not work then? |
Any of the default provider chain methods listed on http://docs.aws.amazon.com/AWSSdkDocsJava/latest/DeveloperGuide/credentials.html should work (although if you are not using EC2, you won't be able to use "Instance profile credentials") |
@Jmcfar Any updates on when we can expect this update through the Jenkins repository? |
We just finished pushing the new plugin to the Jenkins update repository. The current plugin list is only updated every 6 hours, so it may not show up immediately, but should be there by tomorrow. The latest release version for the CodeDeploy plugin is 1.5, so once you pull that in you should be up to date. |
Awesome! Very excited to not have to use my own bash scripts to interface with the CLI. |
Getting an error when trying the temp permissions when following the steps provided. Connection test failed with error: The request signature we calculated does not match the signature you provided. Check your key and signing method. (Service: Amazon S3; Status Code: 403; Error Code: SignatureDoesNotMatch; The error would imply a time differentail between AWS and the Jenkins server, and have verified that the times are synced. Any suggestions on how I might troubleshoot/correct this error? |
@bstokes: Did you specify a valid S3 bucket name? |
Issue has been resolved for some time now. Thx for the follow up. |
Merging pull requests from the parent repo
When I add CodeDeploy as a post build task and click temporary credentials, it does not spit out an AWS account ID. It does give me an external ID.
The text was updated successfully, but these errors were encountered: