Serverless Lambda Layers

learn lambda layers with serverless framework


see serverless.yml and index.js

layers are applied in order, meaning last layer in array is applied last and will overwrite any common files in other layers.

# install deps
npm i

# run via local packages sls
npm run sls -- deploy

# invoke and view logs
npm run sls -- invoke --function hello --log