Skip to content

Commit

Permalink
add depends
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Jun 14, 2021
1 parent 0f97cb4 commit 13d9869
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ resource "aws_iam_group_policy_attachment" "audit" {
for_each = toset(local.policies)
group = aws_iam_group.audit.name
policy_arn = each.key
depends_on = [aws_iam_policy.audit]
}

#---
Expand Down

0 comments on commit 13d9869

Please sign in to comment.