Custom Lambda Layers

You can include and use your own Custom Lambda Layers. This allows you to handle cases of extra customization like additional system libraries and gems. Here’s how you configure custom Lambda Layers.

config/jets/deploy.rb

Jets.deploy.configure do
  config.lambda.layers = [
    "arn:aws:lambda:us-west-2:112233445566:layer:my-layer:2",
    "arn:aws:lambda:us-west-2:112233445566:layer:another-layer:8",
  ]
end

Jets uses one layer for the Gem Layer. The current max Lambda Layers is 5, so this means you can add up to 4 of your own custom layers.