Skip to content

Commit

Permalink
fix: enable backups
Browse files Browse the repository at this point in the history
  • Loading branch information
jsbroks committed Nov 13, 2024
1 parent a73a04b commit 5e241a4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/database/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ resource "google_sql_database_instance" "this" {
tier = var.postgres_tier
deletion_protection_enabled = var.deletion_protection

backup_configuration {
enabled = true
}

ip_configuration {
ipv4_enabled = false
private_network = var.network_connection_string
Expand Down

0 comments on commit 5e241a4

Please sign in to comment.