Skip to content

Commit 33f8a2a

Browse files
committed
ENH: Enable database backups and point in time recovery
1 parent 22f9c19 commit 33f8a2a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

databases.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ resource "google_sql_database_instance" "postgres_instance" {
1313
name = "max_connections"
1414
value = "400"
1515
}
16+
17+
backup_configuration {
18+
enabled = true
19+
point_in_time_recovery_enabled = true
20+
}
1621
}
1722
# If we need to execute SQL...
1823
# provisioner "local-exec" {

0 commit comments

Comments
 (0)