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.
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.
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...
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