Sign inSign up

richardjkendall/lambda-builder

By richardjkendall

•Updated almost 3 years ago

Used with a terraform module to build and deploy lambda functions

Image
0

595

richardjkendall/lambda-builder repository overview

⁠lambda-builder

Builds a AWS python lambda function package using docker.

Takes one environment variable: REPO which points to the public repository containing the code to be packaged.

Package is placed in the /output folder.

⁠Install does the following steps

  • pip install using requirements.txt
  • copies all *.py files from the root of the repository
  • runs install.sh if is present in the root of the repository

⁠How to run

docker run --rm -e REPO=<git url> -v <local folder where you want the output>:/output richardjkendall/lambda-builder

⁠Terraform

You can see the terraform module that this works with here https://github.com/richardjkendall/tf-modules/tree/master/modules/lambda-function⁠

Tag summary

Content type

Image

Digest

sha256:831e776c9…

Size

284.6 MB

Last updated

almost 3 years ago

docker pull richardjkendall/lambda-builder