epsagon / serverless-package-external

Add external folders to the deploy package 📦
https://epsagon.com/blog/how-to-package-external-code-in-aws-lambda-using-serverless-framework/
MIT License
55 stars 5 forks source link

Difference between this and using a lambda layer #13

Closed OmarKhattab closed 4 years ago

OmarKhattab commented 4 years ago

Is it better to use a lambda layer?

ranrib commented 4 years ago

Hi @OmarKhattab, this is really up to you. This one doesn't require any CI/CD additional tasks, and it is more straightforward. If your code is being shared externally - that's when a layer is needed.