From 535ccbd9785122ed411735d8f3362d61e65f53f8 Mon Sep 17 00:00:00 2001 From: iker-barriocanal <32816711+iker-barriocanal@users.noreply.github.com> Date: Tue, 22 Dec 2020 15:58:40 +0100 Subject: [PATCH 1/2] feat: Target to deploy on AWS Lambda --- .craft.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.craft.yml b/.craft.yml index 197ec23d8e47..a087e8ab8960 100644 --- a/.craft.yml +++ b/.craft.yml @@ -53,3 +53,4 @@ targets: onlyIfPresent: /^sentry-angular-.*\.tgz$/ config: canonical: 'npm:@sentry/angular' + - name: aws-lambda From f204c53cb7f7309356be3863355c09a1f0a80ae7 Mon Sep 17 00:00:00 2001 From: iker-barriocanal <32816711+iker-barriocanal@users.noreply.github.com> Date: Thu, 14 Jan 2021 13:25:08 +0100 Subject: [PATCH 2/2] ref: Add all the options to the AWS Lambda Layer target Add the following options: - includeNames - layerName - compatibleRuntimes - license --- .craft.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.craft.yml b/.craft.yml index a087e8ab8960..953b2c7cd04f 100644 --- a/.craft.yml +++ b/.craft.yml @@ -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