In the documentation it states you can use images from ECR for your pipeline.
Is it possible to get the images with AWS assume-role configured?
image: name: <aws_account_id>.dkr.ecr.<region>.amazonaws.com/openjdk:8 aws: access-key: $AWS_ACCESS_KEY secret-key: $AWS_SECRET_KEY
We've got the following setup:
Account A: IAM Users
Account B: ECR with container images and IAM Role to be assumed
So what I am looking for:
- Provide credentials for IAM User in Account A
- Provide IAM Role to assume in Account B
- Use container image from Account B for the bitbucket pipeline
This currently can't be done, forcing me to add a user in account B to be able to access the image.
I tried it without the assume role part, but that still fails because it will search for IAM Users in Account B.
We are excited to announce the open beta program for self-hosted runners. Bitbucket Pipelines Runners is available to everyone. Please try it and let us know your feedback. If you have any issue...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events