Skip to content

Instantly share code, notes, and snippets.

@AhmedSamy
Last active June 18, 2019 17:14
Show Gist options
  • Save AhmedSamy/10d20c239de85a7df7245a106f37a11a to your computer and use it in GitHub Desktop.
Save AhmedSamy/10d20c239de85a7df7245a106f37a11a to your computer and use it in GitHub Desktop.
Switching DB for Graphql
1. aws ssm put-parameter --name WebAppDBName --type String --value "xxx"
2. aws ssm put-parameter --name BorschtDBName --type String --value "xxx"
3. aws ssm put-parameter --name LedgerDBName --type String --value "xxx"
4. re-deploy https://eu-central-1.console.aws.amazon.com/codesuite/codepipeline/pipelines/MySqlReadResolver/view, click release top-right
NOTE: for deployment it works for staging, you need to hit approve manually to reach production
NOTE: for changing parameters u can do it thru the UI here too
https://eu-central-1.console.aws.amazon.com/systems-manager/parameters?region=eu-central-1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment