Skip to content

Instantly share code, notes, and snippets.

@KyMidd
Created July 14, 2022 14:49
Show Gist options
  • Save KyMidd/14b538f84728162ad17125ee1ab0dfd1 to your computer and use it in GitHub Desktop.
Save KyMidd/14b538f84728162ad17125ee1ab0dfd1 to your computer and use it in GitHub Desktop.
resource "aws_secretsmanager_secret" "app1-super-secret-json" {
name = "app1-super-secret-json"
}
resource "aws_secretsmanager_secret_version" "app1-super-secret-json" {
secret_id = aws_secretsmanager_secret.app1-super-secret-json.id
secret_string = jsonencode({
app_password = "Hunter12"
smtp_password = "HiMom"
other_password = "TheBestPasswordEvah!@"
})
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment