Skip to content

CloudFormation Custom Resource to build Lambda layers for python scripts based on the requirements.txt

License

Notifications You must be signed in to change notification settings

kisst/CFN-CR-PythonLambdaLayer

Repository files navigation

CFN-CR-PythonLambdaLayer

CloudFormation Custom Resrouce to build Lambda layers for python scripts based on the requirements.txt and/or custom raw python scripts

note: the lambda function with comments, and doc strings is also in the repo under the name of lambda_function.py but into the CFN it's lifted in without doc strings, due to size limit.

Usage 101

  • Step 1

Go to your AWS Console, and open CloudFormation

  • Step 2

Deploy the CFN-CR-PythonLambdaLayer.yaml template

  • Step 3

As per in the examples in the CFN-CR-PythonLambdaLayer-SampleUsage.yaml create your own layer as you need

  • Step 4

Enjoy, and if you find issues, send it here


Contributions are welcome.

Releases

No releases published

Packages

No packages published

Languages