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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Install dependencies before deploy

I'm currently trying to integrate the AWS SAM deployment process through Bitbucket pipeline but I might be misunderstanding something.

I have a Python Lambda function and a specific requirements.txt file for each environment, what I'm trying to do is to build my lambda function with its dependencies and deploy it to AWS. But after the deployment step, the dependencies are not deployed and my lambda is unable to run.

How I'm supposed to build my application? Does the aws-sam-deploy handles it or should I do it manually?

1 answer

0 votes

Hello @Lucas Luciano Picollo !

Lambda function does not do anything with installing dependecies.

The dependencies should be installed and packaged to zip file that is passed as variable to our aws-lambda-deploy pipe, for example.

If you want to use lambda stack with cloudformation, then it is more apporpiate to use aws-sam-deploy, right.

 

Look at these pipes readme and decide what is more appropriate to you:

https://bitbucket.org/atlassian/aws-sam-deploy/src/master/

https://bitbucket.org/atlassian/aws-lambda-deploy/src/master/

 

Looking forward to see your next feedback and I can help with chosen solution.

Regards, Galyna

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Announcing the waitlist for Jira Work Management

Hey there Cloud Community members! We’re excited to give you the first glimpse of the new home for business teams on Jira — Jira Work Management. Jira Work Management is the next generation of J...

898 views 14 20
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