Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

AWS_ACCESS_KEY_ID: AWS_ACCESS_KEY_ID variable missing.

Darshan Gerra March 2, 2020

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
Daniil Penkin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 2, 2020

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

Darshan Gerra March 4, 2020

Thanks Daniil.

0 votes
hraissi November 3, 2020

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events