Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jnonino authored and Julian Nonino committed Apr 25, 2022
1 parent ac73063 commit aceb127
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ resource "aws_iam_role_policy_attachment" "ecs_task_execution_role_policy_attach
}

resource "aws_iam_policy" "ecs_task_execution_role_custom_policy" {
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 }
name = "${var.name_prefix}-ecs-task-execution-role-custom-policy-${each.key}"
description = "A custom policy for ${var.name_prefix}-ecs-task-execution-role IAM Role"
policy = each.value
Expand Down

0 comments on commit aceb127

Please sign in to comment.