Skip to content

Commit

Permalink
feat: AWS Lambda layer target config for Craft (#3175)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
iker-barriocanal authored Jan 14, 2021
1 parent 53e1df9 commit 7095822
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .craft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,10 @@ targets:
onlyIfPresent: /^sentry-angular-.*\.tgz$/
config:
canonical: 'npm:@sentry/angular'
- name: aws-lambda
- name: aws-lambda-layer
includeNames: /^sentry-node-serverless-\d+(\.\d+)*\.zip$/
layerName: SentryNodeServerlessSDK
compatibleRuntimes:
- nodejs10.x
- nodejs12.x
license: MIT

0 comments on commit 7095822

Please sign in to comment.