Skip to content

Commit

Permalink
lifecycle
Browse files Browse the repository at this point in the history
  • Loading branch information
crlssn committed Nov 13, 2024
1 parent 00b51b9 commit b3faa44
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions infra/db.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ resource "aws_db_instance" "postgres" {
# Security group settings
# vpc_security_group_ids = [aws_security_group.default.id]

# lifecycle {
# create_before_destroy = false
# prevent_destroy = true
# }
lifecycle {
create_before_destroy = false
prevent_destroy = true
}
}
#
# # Optional: Create a DB subnet group if you don't have one already
Expand Down

0 comments on commit b3faa44

Please sign in to comment.