Generate a lambda layer for serverless framework
The original file come form AWS CLI
The CLI will be installed under /opt/awscli/aws
.
To build the layer, run:
node layer-generator/build.js
for the home directory.
To install the dependencies, run:
npm install
for the home directory.
To deploy the layer, run:
npm deploy
for the home directory.