parent directory.. | ||||
View all files | ||||
| Services | Lambda |
| Integrations | Serverless Framework |
| Categories | Serverless |
A demo application illustrating Lambda layers using LocalStack, deployed via the Serverless framework. Lambda layers allow you to package shared code and dependencies separately from your function code, enabling reuse across multiple functions.
The script deploys the Lambda function with its layer via the Serverless framework and invokes it to verify the layer is loaded correctly.
You should see a success output:
Check the LocalStack container logs for the Lambda output:
This code is available under the Apache 2.0 license.