Skip to content

Commit 6468f81

Browse files
jhenry82Jon Henry
andauthored
feat: Add create_before_destroy to Aurora DB instance resource (#506)
Add create_before_destroy to Aurora instance Co-authored-by: Jon Henry <jhenry@tripadvisor.com>
1 parent 7a7e327 commit 6468f81

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
@@ -201,6 +201,11 @@ resource "aws_rds_cluster_instance" "this" {
201201
update = try(var.instance_timeouts.update, null)
202202
delete = try(var.instance_timeouts.delete, null)
203203
}
204+
205+
lifecycle {
206+
create_before_destroy = true
207+
}
208+
204209
}
205210

206211
################################################################################

0 commit comments

Comments
 (0)