Create
cancel
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

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

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

495 views 16 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