Skip to content

Commit f440639

Browse files
authored
fix: Add subnet group dependency on IAM resources (#7)
1 parent 8b67475 commit f440639

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

main.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,10 @@ resource "aws_dms_replication_subnet_group" "this" {
109109
subnet_ids = var.repl_subnet_group_subnet_ids
110110

111111
tags = merge(var.tags, var.repl_subnet_group_tags)
112+
113+
depends_on = [
114+
aws_iam_role.dms_vpc_role
115+
]
112116
}
113117

114118
################################################################################

0 commit comments

Comments
 (0)