Skip to content

AWS Lambda Layer

Creates a new public Lambda layer in each available AWS region and updates the Sentry release registry.

Configuration

OptionDescription
layerNameName of the Lambda layer
compatibleRuntimesList of runtime configurations
licenseLayer license
linkPrereleasesUpdate for preview releases. Default: false
includeNamesMust filter to exactly one artifact

Runtime Configuration

compatibleRuntimes:
- name: node
versions:
- nodejs10.x
- nodejs12.x

Environment Variables

NameDescription
AWS_ACCESS_KEYAWS account access key
AWS_SECRET_ACCESS_KEYAWS account secret key

Example

targets:
- name: aws-lambda-layer
includeNames: /^sentry-node-serverless-\d+(\.\d+)*\.zip$/
layerName: SentryNodeServerlessSDK
compatibleRuntimes:
- name: node
versions:
- nodejs10.x
- nodejs12.x
license: MIT