At Epsagon, we use hundreds of AWS Lambda functions, most of them are written in Python, and the Serverless Framework to pack and deploy them. One of the issues we've encountered is the difficulty to package external libraries into the Lambda environment using the Serverless Framework. This limitation is probably by design since the external code your Lambda needs can be usually included with a package manager.

In order to overcome this issue, we've developed a tool, which we also published as open-source (see link below), which automatically packs these libraries using a simple npm package and a YAML configuration file. Support for Node.js, Go, and Java will be available soon.

The GitHub respoitory: https://github.com/epsagon/serverless-package-external

READ LESS
How To Package External Code In AWS Lambda Using Serverless Framework | Epsagon (epsagon.com)
16 upvotes·1 comment·500.6K views
Debra White
Debra White
·
January 9th 2019 at 10:36AM

package managers are all the rage

·
Reply
Avatar of Nitzan Shapira