From a995912b2e0d65a73a3c829e7117267e6d70f526 Mon Sep 17 00:00:00 2001 From: iker-barriocanal <32816711+iker-barriocanal@users.noreply.github.com> Date: Thu, 11 Feb 2021 10:54:02 +0100 Subject: [PATCH] feat: Add `aws-lambda-layer` craft target --- .craft.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.craft.yml b/.craft.yml index 5fc2b5f27c..2f66f9070d 100644 --- a/.craft.yml +++ b/.craft.yml @@ -12,6 +12,22 @@ targets: type: sdk config: canonical: pypi:sentry-sdk + - name: aws-lambda-layer + includeNames: /^sentry-python-serverless-\d+(\.\d+)*\.zip$/ + layerName: SentryPythonServerlessSDK + compatibleRuntimes: + - name: python + versions: + # The number of versions must be, at most, the maximum number of + # runtimes AWS Lambda permits for a layer. + # On the other hand, AWS Lambda does not support every Python runtime. + # The supported runtimes are available in the following link: + # https://docs.aws.amazon.com/lambda/latest/dg/lambda-python.html + - python2.7 + - python3.6 + - python3.7 + - python3.8 + license: MIT changelog: CHANGES.md changelogPolicy: simple