Skip to content

Commit 7c4dca1

Browse files
committed
Added link to action to make sure it does the same
1 parent dd1efe2 commit 7c4dca1

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

scripts/aws-deploy-local-layer.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ make aws-lambda-layer
99
echo "Done creating Lambda layer in ./dist-serverless."
1010

1111

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+
1217
# Adding Sentry Lambda extension to Lambda layer
1318
echo "Adding Sentry Lambda extension to Lambda layer in ./dist-serverless ..."
1419
mkdir -p dist-serverless/extensions
@@ -25,6 +30,8 @@ relay:
2530
upstream: "https://sentry.io"
2631
host: 127.0.0.1
2732
port: 3000
33+
limits:
34+
shutdown_timeout: 2
2835
EOT
2936
echo "Done setting configuration for extension in in ./dist-serverless/extensions ..."
3037

0 commit comments

Comments
 (0)