diff --git a/infra/db.tf b/infra/db.tf index 34da1de0..19ee1867 100644 --- a/infra/db.tf +++ b/infra/db.tf @@ -18,6 +18,7 @@ resource "aws_db_instance" "db" { # vpc_security_group_ids = [aws_security_group.default.id] lifecycle { + create_before_destroy = false prevent_destroy = true } }