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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,557,629
Community Members
 
Community Events
184
Community Groups

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 update-lambda.sh 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

4 votes
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 had to delete the folder instead of just the file to get it to work.

rm -rf /opt/atlassian/pipelines/agent/build/.bitbucket/pipelines/generated/pipeline/pipes
Like Steffen Opel _Utoolity_ likes this

I fixed it. Thanks

Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
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 :) 

Ana

Like Steffen Opel _Utoolity_ likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events