1 Answer
- Newest
- Most votes
- Most comments
0
Hi, the right to do that is to use Lambda Layers: https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html
A layer is a .zip file archive that can contain additional code or data. A layer can
contain libraries, a custom runtime, data, or configuration files. Layers promote
code sharing and separation of responsibilities so that you can iterate faster on
writing business logic.
You may also want to read this post; https://aws.amazon.com/blogs/compute/using-lambda-layers-to-simplify-your-development-process/
It will allow you to cleanly separate your code from its dependencies in terms of deployments, etc.
Best,
Didier
Relevant content
- asked 5 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 17 days ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 3 years ago