Skip to content

Scripts to build new Python layers for use by AWS Lambda functions

License

Notifications You must be signed in to change notification settings

engagesmarter/aws-lambda-layer-builder

Repository files navigation

lambda-layers

Scripts to build python AWS Lambda layers and publish to AWS for use.

This also prunes the packages to remove some of the heavy weight of some large libaries such as pandas or scipy.

Inspired by the model-zoo scripts.

Prerequisites

  • AWS CLI
  • jq
  • Docker

Instructions

  1. Create a separate directory structure for each main layer you wish to create.
  2. Within this directory include a requirements.txt file that includes the production pip dependencies to install
  3. From the project root run the build_layer.sh script
  4. The resulting layers.csv file gives the results and ARN for the layer.

Licence

MIT Licence. Use completely at your own risk. No liability assumed.

About

Scripts to build new Python layers for use by AWS Lambda functions

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages