Skip to content

An example of how to provide unix tools (i.e. zip) in AWS node10 lambda environment

License

Notifications You must be signed in to change notification settings

scenarex/node10-unix-utils-layer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lambci-nodejs10.x Layer

An AWS lambci-nodejs10.x Lambda Layer. It makes use of the lambci/docker-lambda images to add the zip utility and the bzip2 library to thethe live AWS Lambda node 10 environment.

Take into account that the files in local layer directory are copied to the AWS lambda environment /opt directory. You must run the zip utility like this LD_LIBRARY_PATH=/opt/zip:$LD_LIBRARY_PATH /opt/zip/zip

Prerequisites

You'll need to have Docker installed. You can opt to use Serverless for deployment or simply run the build.sh file manually and upload the resulting layer/zip folder as a ZIP archive to the AWS online console.

Deployment

sls deploy

About

An example of how to provide unix tools (i.e. zip) in AWS node10 lambda environment

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published