I created my first layer this week, and found that the Serverless Application Model made it pretty easy.
There's a resource for a Layer Version and then SAM does the work of zipping up and deploying the layer and makes it easy to manage new versions of the layer contents. I added a Parameter Store resource so that the templates for Lambda functions could accept that as a parameter and always pick up the latest version of the layer.
I created my first layer this week, and found that the Serverless Application Model made it pretty easy.
There's a resource for a Layer Version and then SAM does the work of zipping up and deploying the layer and makes it easy to manage new versions of the layer contents. I added a Parameter Store resource so that the templates for Lambda functions could accept that as a parameter and always pick up the latest version of the layer.
Thanks for sharing that Andrew!