File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ resource "azurerm_postgresql_flexible_server" "main" {
113113 depends_on = [azurerm_private_dns_zone_virtual_network_link . main , azurerm_private_dns_zone_virtual_network_link . main2 ]
114114
115115 lifecycle {
116- ignore_changes = [high_availability . 0 . standby_availability_zone ]
116+ ignore_changes = [high_availability [ 0 ] . standby_availability_zone ]
117117 }
118118}
119119
@@ -211,6 +211,7 @@ resource "azurerm_postgresql_flexible_server_configuration" "main" {
211211 name = each. key
212212 server_id = azurerm_postgresql_flexible_server. main [0 ]. id
213213 value = each. value
214+ depends_on = [ azurerm_postgresql_flexible_server . main ]
214215}
215216# #------------------------------------------------------------------------
216217# # Private DNS for a PostgreSQL Server. - Default is "false"
You can’t perform that action at this time.
0 commit comments