Skip to content

Commit aceb127

Browse files
jnoninoJulian Nonino
authored andcommitted
Fix formatting
1 parent ac73063 commit aceb127

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ resource "aws_iam_role_policy_attachment" "ecs_task_execution_role_policy_attach
1414
}
1515

1616
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}
17+
for_each = { for s in var.ecs_task_execution_role_custom_policies : index(var.ecs_task_execution_role_custom_policies, s) => s }
1818
name = "${var.name_prefix}-ecs-task-execution-role-custom-policy-${each.key}"
1919
description = "A custom policy for ${var.name_prefix}-ecs-task-execution-role IAM Role"
2020
policy = each.value

0 commit comments

Comments
 (0)