Skip to content

Commit 47e8205

Browse files
committed
Update rds db lifecycle
1 parent 07cf003 commit 47e8205

File tree

1 file changed

+3
-0
lines changed
  • terraform/data_replication

1 file changed

+3
-0
lines changed

terraform/data_replication/rds.tf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ resource "aws_rds_cluster" "cluster" {
3434
max_capacity = var.max_aurora_capacity_units
3535
min_capacity = 0.5
3636
}
37+
lifecycle {
38+
create_before_destroy = true
39+
}
3740
}
3841

3942
resource "aws_rds_cluster_instance" "instance" {

0 commit comments

Comments
 (0)