We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c9ed93 commit 62942e2Copy full SHA for 62942e2
infrastructure/terraform/components/sandbox/pre.sh
@@ -7,12 +7,16 @@ echo "REGION=$REGION"
7
echo "ENVIRONMENT=$ENVIRONMENT"
8
echo "ACTION=$ACTION"
9
10
-if [ "$ACTION" == "apply"]; then
+if [ "${ACTION}" == "apply" ]; then
11
+ echo "Building lambdas for distribution"
12
+
13
if [ -z "$SKIP_SANDBOX_INSTALL" ]; then npm ci; fi
14
15
npm run generate-dependencies --workspaces --if-present
16
17
npm run lambda-build --workspaces --if-present
18
19
$(git rev-parse --show-toplevel)/lambdas/layers/pdfjs/build.sh
20
+else
21
+ echo "Skipping lambda build for action $ACTION"
22
fi
0 commit comments