From 3e05ca2694c94f4c11237a3b1f3d65e47f9c755f Mon Sep 17 00:00:00 2001 From: Jo Date: Thu, 16 May 2024 12:53:58 -0400 Subject: [PATCH] fixing container permissions --- tofu/modules/network/vpc/main.tf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tofu/modules/network/vpc/main.tf b/tofu/modules/network/vpc/main.tf index 50d191480..4c1010e30 100644 --- a/tofu/modules/network/vpc/main.tf +++ b/tofu/modules/network/vpc/main.tf @@ -132,8 +132,7 @@ resource "aws_iam_policy" "appointment_secrets_policy" { "secretsmanager:GetSecretValue" ], "Resource": [ - "arn:aws:secretsmanager:${var.region}:768512802988:secret:staging/appointment/*", - "arn:aws:secretsmanager:${var.region}:768512802988:secret:${var.name_prefix}-db-secret-*" + "arn:aws:secretsmanager:${var.region}:768512802988:secret:${var.name_prefix}-*" ] } ]