agutoli / serverless-layers

Serverless.js plugin implementing AWS Lambda Layers, reducing lambda size, warm-up, and deployment time.
MIT License
229 stars 54 forks source link

always use latest layer version #79

Closed orr-levinger closed 1 year ago

orr-levinger commented 2 years ago

When i redeploy my lambda it uses the layer version 1 even though i the latest version is 2 after changing the package.json i changed it manually and it works but the plugin should do it for me

RaissaBergamini commented 2 years ago

Had the same issue in a project when deploying. It was on layer version 4, a version 5 was created but the lambdas were not updated to it on its own. @orr-levinger did you figure out what was the issue?

brunocasado commented 2 years ago

same here

agutoli commented 1 year ago

Bugfix version: [2.6.1](https://www.npmjs.com/package/serverless-layers/v/2.6.1). Please let me know if it works.