-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update migration script to use payload, upgrade TEA to 1.0.2
- Loading branch information
1 parent
35b0bd1
commit bf02210
Showing
2 changed files
with
6 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
#!/usr/bin/env bash | ||
|
||
# run this lambda after deploying the data_migration1 and data-persistence | ||
# modules, and before deploying the cumulus module | ||
# run this lambda after deploying the data-persistence module and before deploying the cumulus module | ||
|
||
aws lambda invoke --function-name $DEPLOY_NAME-cumulus-$MATURITY-data-migration1 $DEPLOY_NAME-cumulus-$MATURITY-dm1.log | ||
PAYLOAD=$(echo '{"forceRulesMigration": true}') | ||
|
||
aws lambda invoke --function-name $DEPLOY_NAME-cumulus-$MATURITY-data-migration1 \ | ||
--payload "$PAYLOAD" $DEPLOY_NAME-cumulus-$MATURITY-dm1.log |