diff --git a/infrastructure/cloud/modules/security/iam.tf b/infrastructure/cloud/modules/security/iam.tf index 1040d1d4..cde09d8a 100644 --- a/infrastructure/cloud/modules/security/iam.tf +++ b/infrastructure/cloud/modules/security/iam.tf @@ -56,8 +56,8 @@ resource "aws_iam_role_policy" "ecs_execution_policy" { ], Effect = "Allow", Resource = [ - var.ecs_web_td_log_group_arn, - var.ecs_api_td_log_group_arn + "${var.ecs_web_td_log_group_arn}:*", + "${var.ecs_api_td_log_group_arn}:*" ] } ]