Skip to content

Commit

Permalink
unpin pg zone
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljguarino committed Jan 6, 2024
1 parent 6a1be4e commit 2649e60
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion terraform/clouds/azure/postgres.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ resource "azurerm_postgresql_flexible_server" "postgres" {
private_dns_zone_id = azurerm_private_dns_zone.postgres[0].id
administrator_login = "console"
administrator_password = random_password.password.result
zone = "1"

storage_mb = var.postgres_disk
sku_name = var.postgres_sku
Expand All @@ -44,6 +43,8 @@ resource "azurerm_postgresql_flexible_server" "postgres" {
lifecycle {
ignore_changes = [ zone, high_availability.0.standby_availability_zone ]
}

depends_on = [ azurerm_subnet.postgres ]
}

resource "azurerm_postgresql_flexible_server_database" "console" {
Expand Down

0 comments on commit 2649e60

Please sign in to comment.