UPD: removed jsoncodeing of secret-string and use the raw value
This commit is contained in:
parent
1d112a6136
commit
abf60a0972
@ -11,7 +11,7 @@ resource "aws_secretsmanager_secret" "secret1" {
|
||||
|
||||
resource "aws_secretsmanager_secret_version" "this" {
|
||||
secret_id = aws_secretsmanager_secret.secret1.id
|
||||
secret_string = jsonencode({ (var.secret_description) : var.secret_value })
|
||||
secret_string = var.secret_value
|
||||
}
|
||||
|
||||
data "aws_iam_policy_document" "policy-file" {
|
||||
|
Loading…
Reference in New Issue
Block a user