TLDR Web Dev · MISCELLANEOUS
STOP USING LAMBDA LAYERS
Summary from the TLDR Web Dev newsletter
Lambda layers are a popular solution for managing dependencies in AWS Lambda functions. Layers themselves are nothing more than a zip file, but they have a few interesting properties that prove useful in some cases. Unfortunately, Lambda layers are also difficult to work with as a developer, tricky to deploy safely, and typically don't offer benefits over native package managers. These downsides frequently outweigh the upsides. This article examines Lambda layers and native package managers in detail.