Skip to content

Commit d4938fc

Browse files
authored
fix: Add depends_on policy and policy attachments for pipes (#133)
1 parent 4f3af4f commit d4938fc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

main.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -810,4 +810,9 @@ resource "aws_pipes_pipe" "this" {
810810
}
811811

812812
tags = merge(var.tags, try(each.value.tags, {}))
813+
814+
depends_on = [
815+
aws_iam_policy.service,
816+
aws_iam_policy_attachment.service
817+
]
813818
}

0 commit comments

Comments
 (0)