Auto-Deploy a Lambda Layer

Deploy a lambda layer from the Serverless Repository

A while back, I was working on a project that required the use of a lambda layer that was published at the AWS Serverless Application Repository. The usual installation method is to visit the Serverless Application Repository (hereafter, serverless repo) page from the AWS console, search for the layer you’re interested in, and click the “Deploy” button to install it into your account for use in your lambda functions. This is nice and easy, but whenever possible I tend to Eschew the Console™, so I set about trying to find a way to deploy a layer using CloudFormation.

[Read More]