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 image.
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.
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.
Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster ! While we’re all excited about the new improvements to Bitbucket ...
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