1
0
Files
terraform.examples/LambdaPyZip
2026-02-13 15:44:24 +08:00
..
2026-02-13 15:44:24 +08:00
2026-02-13 15:44:24 +08:00
2026-02-13 15:44:24 +08:00

LambdaPyZip

This layer uses the python_aws_lambda data source, which creates zip archives with the following inputs

  • source/function.py
  • source/requirements.txt

Function.py contains the lambda handler, while requirements.txt states the dependencies. This datasource will run pip install and generate zip archives in the output directory.