Skip to content

Layers

We use Layers to include dependencies into our lambdas without having to upload the libaries with the code base. This allows us to keep the file sizes under control and also take advantage of the code editor on the AWS Lambda page for debugging. Currently all of our packages are installed into layers/base_dependencies. That layer is then defined in the serverless.yml file, and then linked to each function.