Save yourself the time and effort of building Lambda Layers and let Build Lambda Layer do it for you!
Install
pnpm install build-lambda-layer
CLI API
Usage: build-layer [options] <dir>Build Lambda Layer, Build node awesome lambda layers with controls 🕹Arguments: dir lambda layer directory to build toOptions: --architectures [architectures...] architectures for deployment to AWS --bucket <bucket> bucket to deploy to using AWS -c, --config <config> path to a config file --deploy deploy your
Recipes
Debugging
Gets you logging in your terminal
build-layer <dir> --debug
No Zip
Just build you a directory
build-layer <dir> --noZip
Custom runner
Build everything with a runner besides npm. Options are npm, pnpm, or yarn
build-layer <dir> --runner 'pnpm'
AWS Deploy
Assumes you're authenticated, have the AWS CLI, and have already deployed the layer to S3.
AKA, implemented but not actively guaranteed to work!