Skip to content

Commit

Permalink
create_before_destroy
Browse files Browse the repository at this point in the history
  • Loading branch information
crlssn committed Nov 13, 2024
1 parent 57e09a8 commit d68c0b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions infra/db.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
Expand Down

0 comments on commit d68c0b6

Please sign in to comment.