diff --git a/modules/security_identity_compliance/secretsmanager-secret/main.tf b/modules/security_identity_compliance/secretsmanager-secret/main.tf index 2287957..22cdbd0 100644 --- a/modules/security_identity_compliance/secretsmanager-secret/main.tf +++ b/modules/security_identity_compliance/secretsmanager-secret/main.tf @@ -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" {