How do I get AWS SAM CLI to stop ignoring my Python dependencies during the deployment process?

Asked 2 years ago

So, I'm using Amazon Web Services without Docker Containers, and I'm not 100% that my CLI downloads get properly installed. The dependencies are declared in the requirements.txt file (as it's required in the documentation), but sometimes my dependencies get ignored from the installation.

Samuel Hobbs

Friday, August 19, 2022

In the folder "aws-sam/build/" you'll find a template file that you can manually change. Make sure to open it, change the specific commands and paths, and then save it. If this doesn't work, you can also use a custom template file when you run the "sam build" command by adding the "--template-file" option.





Write an answer...

Cancel

Please follow our  Community Guidelines

Can't find what you're looking for?