Skip to content

Commit 8324623

Browse files
committed
changing for each to use a map
1 parent 66f4f24 commit 8324623

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • terraform/modules/aws-groups

terraform/modules/aws-groups/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ resource "aws_iam_group" "group" {
66
}
77

88
resource "aws_iam_group_policy_attachment" "group_policy_attachment" {
9-
for_each = toset(var.policy_arn)
9+
for_each = var.policy_arn
1010
group = aws_iam_group.group.name
1111
policy_arn = each.value
1212
}

0 commit comments

Comments
 (0)