From 779ab63c748bfdcf627d5de1e052fd17fefefd23 Mon Sep 17 00:00:00 2001 From: Colin Saliceti Date: Tue, 13 Aug 2024 14:26:33 +0100 Subject: [PATCH] Ignore changes to public_network_access_enabled Related to issue https://github.com/hashicorp/terraform-provider-azurerm/issues/26098 We must ignore changes to the argument as it becomes enforced from azurerm version v3.105.0. This will allow us to upgrade azurerm in all the repositories. Then we will be able to set public_network_access_enabled to false and remove this ignore_changes. --- aks/postgres/resources.tf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aks/postgres/resources.tf b/aks/postgres/resources.tf index f2f17ef..c034396 100644 --- a/aks/postgres/resources.tf +++ b/aks/postgres/resources.tf @@ -85,7 +85,8 @@ resource "azurerm_postgresql_flexible_server" "main" { # Allow Azure to manage primary and standby server on fail-over. Ignore changes. high_availability[0].standby_availability_zone, # Required for import because of https://github.com/hashicorp/terraform-provider-azurerm/issues/15586 - create_mode + create_mode, + public_network_access_enabled ] } }