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

AWS_ACCESS_KEY_ID: AWS_ACCESS_KEY_ID variable missing.

Hello,

So I have written pipeline which contains multiple lambda deployments. After successful deployment of lambda, bitbucket pipeline is unable to access  AWS_ACCESS_KEY_ID and throws error that variable AWS_ACCESS_KEY_ID is missing. I have set AWS_ACCESS_KEY_ID and AWS_SECRET_KEY in repository variables.

snippet is attached as imagebitbucket-error.png.

Another thing for every step i have to run apt-get install zip, is there another way around to do it once for all lambdas.

 

2 answers

1 accepted

1 vote
Answer accepted

Hello @Darshan Gerra,

Welcome to the Community.

I'm not sure about AWS_ACCESS_KEY_ID issue and will tag your question so that someone else can take a look at that.

As for your second question, you'd need o switch to some other Docker image which has zip preinstalled. If there's no image that contains everything you need, you can build a custom one and push it to Docker Hub or your private Docker registry, then use it in your build.

Hope this helps.

Cheers,
Daniil

Same here! Pipeline cannot recognize env variable set at repository level

Suggest an answer

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

How do you use the Bitbucket-Jira integration? How does it help your team?

Hey everyone, over the past year, we've added several new features on how you can use Bitbucket and Jira together. We'd love to know how you'll are using the integration and how it's helping your t...

103 views 0 2
Join discussion

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