Open ryanash999 opened 4 years ago
Hi.
Just to quickly answer your questions, this test:
uses this directory for the source path:
https://github.com/claranet/terraform-aws-lambda/tree/master/tests/python-versions/lambda
And you can see that requirements.txt
is just sitting in the top of source directory.
This module copies the source path into a temporary directory, runs pip install requirements.txt
if the file exists, zips up the temporary directory, then uses that for the Lambda function package.
Thanks!
Reopening so we don't forget to make this clearer in the readme.
The documentation indicates that a requirements.txt can be used to automatically build with the necessary python modules. Where is requirements.txt placed? How is it referenced? Documentation could be expanded a bit for this portion.
Thanks