Skip to content

Commit fcda89f

Browse files
author
akhan141
committed
Fixed HA as per Hashicorp suggestion
1 parent 75f99ad commit fcda89f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

main.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,10 @@ resource "azurerm_postgresql_flexible_server" "main" {
111111
}
112112
}
113113
depends_on = [azurerm_private_dns_zone_virtual_network_link.main, azurerm_private_dns_zone_virtual_network_link.main2]
114+
115+
lifecycle {
116+
ignore_changes = [high_availability.0.standby_availability_zone]
117+
}
114118
}
115119

116120
##-----------------------------------------------------------------------------

0 commit comments

Comments
 (0)