From 13d9869c433ac0a975551e3cd07f2e0d92f24d19 Mon Sep 17 00:00:00 2001 From: badra001 Date: Mon, 14 Jun 2021 17:01:12 -0400 Subject: [PATCH] add depends --- main.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/main.tf b/main.tf index 1eae09d..e6b38a0 100644 --- a/main.tf +++ b/main.tf @@ -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] } #---