Skip to content

Commit 7095822

Browse files
feat: AWS Lambda layer target config for Craft (#3175)
* feat: Target to deploy on AWS Lambda * ref: Add all the options to the AWS Lambda Layer target Add the following options: - includeNames - layerName - compatibleRuntimes - license
1 parent 53e1df9 commit 7095822

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.craft.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,10 @@ targets:
5353
onlyIfPresent: /^sentry-angular-.*\.tgz$/
5454
config:
5555
canonical: 'npm:@sentry/angular'
56-
- name: aws-lambda
56+
- name: aws-lambda-layer
57+
includeNames: /^sentry-node-serverless-\d+(\.\d+)*\.zip$/
58+
layerName: SentryNodeServerlessSDK
59+
compatibleRuntimes:
60+
- nodejs10.x
61+
- nodejs12.x
62+
license: MIT

0 commit comments

Comments
 (0)