From aab9363c5098e175fb59f4daf6dc2d79f929e009 Mon Sep 17 00:00:00 2001 From: Jon Henry Date: Wed, 28 May 2025 15:38:30 -0600 Subject: [PATCH] Add create_before_destroy to Aurora instance --- main.tf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/main.tf b/main.tf index 6a438f7..4f56970 100644 --- a/main.tf +++ b/main.tf @@ -201,6 +201,11 @@ resource "aws_rds_cluster_instance" "this" { update = try(var.instance_timeouts.update, null) delete = try(var.instance_timeouts.delete, null) } + + lifecycle { + create_before_destroy = true + } + } ################################################################################