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

Permission denied on atlassian/aws-lambda-deploy

I use atlassian/aws-lambda-deploy as pipe to deploy code to AWS Lambda, I have 2 environments , and they are dev and production. However, after deploying to dev successfully, and going to production deployment, it fails at step whereas I believe the code deployed successfully to production, it just marks the status failed due to lacking permission to write artifacts files

Screenshot 2019-10-17 at 10.00.24 PM.png

2 answers

1 accepted

1 vote
Answer accepted

@Ana Retamal 

There is a work around solution that we need to run this command at the end of each lambda deployment step (except the last one) to clean the artifacts data

rm -rf /opt/atlassian/pipelines/agent/build/.bitbucket/pipelines/generated/pipeline/pipes/aws-lambda-deploy-env


Hopefully, the team will fix this problem soon by upgrading the image. 

I fixed it. Thanks

Ana Retamal Atlassian Team Oct 22, 2019

Hi Lucas, glad you fixed it!

It would be great if you could share your solution with the rest of the Community, in case anyone encounters something similar. 

Have a good day :) 


Suggest an answer

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

What We Learned When We Researched Open Source Vulnerabilities in 7 Popular Coding Languages

...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...

1,038 views 0 3
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