Skip to content

Commit

Permalink
GH-167: Enable database protection across all surfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
markhobson committed Oct 8, 2024
1 parent fc68f80 commit f2deb45
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cloud/schemes/cloud-sql/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ resource "google_sql_database_instance" "main" {
database_version = "POSTGRES_16"

settings {
tier = "db-custom-1-3840"
connector_enforcement = "REQUIRED"
tier = "db-custom-1-3840"
connector_enforcement = "REQUIRED"
deletion_protection_enabled = true

backup_configuration {
enabled = var.database_backups
Expand Down

0 comments on commit f2deb45

Please sign in to comment.