0.0.3 • Published 5 years ago

aws-layer-pack v0.0.3

Weekly downloads
4
License
ISC
Repository
github
Last release
5 years ago

aws-layer-pack -- a tool for creating AWS Layers

A CLI tool for packaging project dependencies into a zip that can be deployed as a Layer on AWS Lambda.

About

AWS Lambda now allows for common code to be packaged and deployed as layers. This not only allows code to be shared between multiple Lambda functions, but also provides a way to write and test code in Lambda without having to publish dependencies with every change.

The aws-layer-pack is a command line tool that makes creating the file used for AWS Layer deployment easy for nodejs projects. The tool packages all of the production dependencies listed in the projects package.json into a properly formatted zip that can then be uploaded to AWS Lambda.

Installing

npm i -g aws-layer-pack

Creating AWS Layer package

  • Run aws-layer-pack on the command line at the root of a node project.
  • Upload the created layer.zip file to AWS as a Layer.

IMPORTANT

  • npm must be on the path for this tool to work properly.

References

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago