We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd1efe2 commit 7c4dca1Copy full SHA for 7c4dca1
1 file changed
scripts/aws-deploy-local-layer.sh
@@ -9,6 +9,11 @@ make aws-lambda-layer
9
echo "Done creating Lambda layer in ./dist-serverless."
10
11
12
+# IMPORTANT:
13
+# Please make sure that this does the same as the GitHub action that
14
+# is building the Lambda layer in production!
15
+# see: https://github.com/getsentry/action-build-aws-lambda-extension/blob/main/action.yml#L23-L40
16
+
17
# Adding Sentry Lambda extension to Lambda layer
18
echo "Adding Sentry Lambda extension to Lambda layer in ./dist-serverless ..."
19
mkdir -p dist-serverless/extensions
@@ -25,6 +30,8 @@ relay:
25
30
upstream: "https://sentry.io"
26
31
host: 127.0.0.1
27
32
port: 3000
33
+limits:
34
+ shutdown_timeout: 2
28
35
EOT
29
36
echo "Done setting configuration for extension in in ./dist-serverless/extensions ..."
37
0 commit comments