I’m trying to use the serverless open runtime for my services. I created a middleware that logs all events to cloudwatch. Great. In another service I want to reference that middleware and the runtime across all of my functions. Can I just declare a global layers that references my external layer and that all the functions inherit? or do I have to specify the layers in each of my (twenty in one service) functions?
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| How to ref the layer in serverless for AWS lambda | 2 | 2673 | September 3, 2020 | |
| Reference lambda layer in the same file when using retain | 1 | 873 | October 16, 2019 | |
| Layers documentation is unclear | 1 | 489 | November 24, 2024 | |
| Deploy with existing AWS Layers | 2 | 864 | February 22, 2020 | |
| How to apply lambda layers WITHOUT deleting other layers that already exist? | 0 | 76 | July 4, 2024 |