-
-
Save KyMidd/0b16f697de44f0df1fceca5a3ca29479 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| ### | |
| # Fetch secret ARNs from Secrets Manager | |
| # We don't want to store sensitive information in our codebase (or in terraform's state file), | |
| # so we fetch it from Secrets Manager | |
| ### | |
| data "aws_secretsmanager_secret" "devopsbot_secrets_json" { | |
| name = "DEVOPSBOT_SECRETS_JSON" | |
| } | |
| /* | |
| This secret should be formatted like this: | |
| {"SLACK_BOT_TOKEN":"xoxb-xxxxxx-arOa","SLACK_SIGNING_SECRET":"2cxxxxxxxxxxxxda"} | |
| */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment