You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and see how it properly takes AWS credentials defined on the slave image for the ecrListImages step (so it works) but fails because of unauthentication in he manual sh "aws...". If a redundant credentials: my-ec2-assigned-aws-creds is passed as a "credentials:" argument o withAWS, then it works
Expected Results
allow sh "aws.." to assume the ec2 credentials or either document it clearly
Actual Results
Unauthorized when performing the aws ecr command
Anything else?
No response
The text was updated successfully, but these errors were encountered:
Jenkins and plugins versions report
Environment
What Operating System are you using (both controller, and any agents involved in the problem)?
EC2 Linux 4.14.238-182.421.amzn2.x86_64 #1 SMP Mon Jul 12 21:54:23 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Reproduction steps
1.Define an EC2 instance with EC2 plugin, and assign some AWS credentials foo_credentials
2.Setup a pipeline script like:
and see how it properly takes AWS credentials defined on the slave image for the ecrListImages step (so it works) but fails because of unauthentication in he manual sh "aws...". If a redundant credentials: my-ec2-assigned-aws-creds is passed as a "credentials:" argument o withAWS, then it works
Expected Results
allow sh "aws.." to assume the ec2 credentials or either document it clearly
Actual Results
Unauthorized when performing the aws ecr command
Anything else?
No response
The text was updated successfully, but these errors were encountered: