Created
May 4, 2018 16:03
-
-
Save anttu/6995f20e641d4f30a6003520f70608b3 to your computer and use it in GitHub Desktop.
Terraform AWS Secrets Manager example with key and value
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
resource "aws_secretsmanager_secret" "IRCSecrets" { | |
name = "irc/client/credentials" | |
description = "My IRC client credentials" | |
} | |
resource "aws_secretsmanager_secret_version" "IRCCredentials" { | |
secret_id = "${aws_secretsmanager_secret.IRCSecrets.id}" | |
secret_string = "{\"username\":\"AzureDiamond\",\"password\":\"hunter2\"}" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment