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?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.