Skip to content

Commit 5e241a4

Browse files
committed
fix: enable backups
1 parent a73a04b commit 5e241a4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

modules/database/main.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ resource "google_sql_database_instance" "this" {
1717
tier = var.postgres_tier
1818
deletion_protection_enabled = var.deletion_protection
1919

20+
backup_configuration {
21+
enabled = true
22+
}
23+
2024
ip_configuration {
2125
ipv4_enabled = false
2226
private_network = var.network_connection_string

0 commit comments

Comments
 (0)