Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bitbucket runner does not work with AWS EC2 Instance Iam Role credentials

After following the deployment instruction for Bitbucket Runner on an AWS EC2 instance I can't get the pipeline to access the instance role. 

I tried setting up the credential file inside the container using:

credential_source=Ec2InstanceMetadata 

 This works inside the bitbucket runner container but not the running pipeline. I imagine it's related to the fact that the instance gets these credentials from the url http://169.254.169.254/latest/meta-data/iam/security-credentials/my role/ which work in the bitbucket runner container but not the running pipeline one.

I understand that I can create a user with credentials to get around that but my infra team requires access through the instance role. 

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

106 views 2 4
Read article

Community Events

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

Events near you