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

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 Jira

Admins, notify your Jira instance of system-wide changes with the new admin announcement banner

Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across their  Jira Cloud instance.  ...

527 views 15 17
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