We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac73063 commit aceb127Copy full SHA for aceb127
main.tf
@@ -14,7 +14,7 @@ resource "aws_iam_role_policy_attachment" "ecs_task_execution_role_policy_attach
14
}
15
16
resource "aws_iam_policy" "ecs_task_execution_role_custom_policy" {
17
- for_each = {for s in var.ecs_task_execution_role_custom_policies: index(var.ecs_task_execution_role_custom_policies, s) => s}
+ for_each = { for s in var.ecs_task_execution_role_custom_policies : index(var.ecs_task_execution_role_custom_policies, s) => s }
18
name = "${var.name_prefix}-ecs-task-execution-role-custom-policy-${each.key}"
19
description = "A custom policy for ${var.name_prefix}-ecs-task-execution-role IAM Role"
20
policy = each.value
0 commit comments