Skip to content

Commit 51031bb

Browse files
feat: Add aws-lambda-layer craft target (#1009)
1 parent 49de7dd commit 51031bb

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.craft.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,22 @@ targets:
1212
type: sdk
1313
config:
1414
canonical: pypi:sentry-sdk
15+
- name: aws-lambda-layer
16+
includeNames: /^sentry-python-serverless-\d+(\.\d+)*\.zip$/
17+
layerName: SentryPythonServerlessSDK
18+
compatibleRuntimes:
19+
- name: python
20+
versions:
21+
# The number of versions must be, at most, the maximum number of
22+
# runtimes AWS Lambda permits for a layer.
23+
# On the other hand, AWS Lambda does not support every Python runtime.
24+
# The supported runtimes are available in the following link:
25+
# https://docs.aws.amazon.com/lambda/latest/dg/lambda-python.html
26+
- python2.7
27+
- python3.6
28+
- python3.7
29+
- python3.8
30+
license: MIT
1531

1632
changelog: CHANGELOG.md
1733
changelogPolicy: simple

0 commit comments

Comments
 (0)