diff --git a/ssm_parameter.tf b/ssm_parameter.tf index d58ef82..c3ae8e4 100644 --- a/ssm_parameter.tf +++ b/ssm_parameter.tf @@ -1,8 +1,8 @@ #https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ssm_parameter resource "aws_ssm_parameter" "rds_secret_arn" { - name = "/${var.name}/rds-password-arn" - type = "SecureString" - value = aws_db_instance.postgresql.master_user_secret[0].secret_arn + name = "/${var.name}/rds-password-arn" + type = "SecureString" + value = aws_db_instance.postgresql.master_user_secret[0].secret_arn } #Create a policy to read from the specific parameter store #https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_policy