-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a line in the terraspace deployment script to call to zip_lambda…
…s.sh. Ensure the API Gateway will redeploy (API Gateway deployment, not the main application deployment). Ensure the lambda execution role for the new lambda can actually call DynamoDB with ReadOnly Access. Added an extra line in the Lambda to verify the environment variable makes it through the deployment process. Added a call to the zip lambdas function for local deployment. #655
- Loading branch information
Kris Stanton
committed
Aug 8, 2024
1 parent
1ff6da3
commit d054565
Showing
5 changed files
with
45 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
|
||
echo "" | ||
echo "post-deploy-mods.sh: STARTED" | ||
|
||
# About to call zip lambdas | ||
ZIP_LAMBDAS_PATH="app/stacks/post-deploy-mods/resources/lambdas/pre-filter-DistributionApiEndpoints/zip_lambda.sh" | ||
echo "post-deploy-mods.sh: About to call zip_lambda.sh at path: $ZIP_LAMBDAS_PATH" | ||
sh "$ZIP_LAMBDAS_PATH" | ||
|
||
echo "post-deploy-mods.sh: ENDED" | ||
echo "" |