Skip to content

Commit 1220bdf

Browse files
authored
Subnet Group Create Before Destroy
1 parent 4481ddd commit 1220bdf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

modules/db_subnet_group/main.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,8 @@ resource "aws_db_subnet_group" "this" {
1919
"Name" = var.name
2020
},
2121
)
22+
23+
lifecycle {
24+
create_before_destroy = true
25+
}
2226
}

0 commit comments

Comments
 (0)