Skip to content

Commit

Permalink
Merge pull request #51 from SazniMohamed/main
Browse files Browse the repository at this point in the history
Update postgres flexible server with high availability
  • Loading branch information
SazniMohamed authored Mar 25, 2024
2 parents 2ebeaf9 + ba40186 commit a1191a6
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ resource "azurerm_postgresql_flexible_server" "postgresql_flexible_server" {
source_server_id = var.source_server_id
tags = var.tags

high_availability {
mode = "ZoneRedundant"
}

maintenance_window {
day_of_week = var.maintainance_start_day
start_hour = var.maintainance_start_hour
Expand Down

0 comments on commit a1191a6

Please sign in to comment.