From 558df6d12ab6a1096289db7bd03b72b0da4390c0 Mon Sep 17 00:00:00 2001 From: uolter Date: Mon, 29 Nov 2021 15:15:35 +0100 Subject: [PATCH] removed block lifecycle --- azurerm_function_app/main.tf | 9 ++------- azurerm_function_app_slot/main.tf | 6 ------ 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/azurerm_function_app/main.tf b/azurerm_function_app/main.tf index 1b66031..62af18f 100644 --- a/azurerm_function_app/main.tf +++ b/azurerm_function_app/main.tf @@ -263,7 +263,7 @@ resource "azurerm_function_app" "function_app" { }, var.app_settings, module.secrets_from_keyvault.secrets_with_value, - var.durable_function.enable ? { + var.durable_function.enable ? { DURABLE_FUNCTION_STORAGE_CONNECTION_STRING = local.durable_function_storage_connection_string INTERNAL_STORAGE_CONNECTION_STRING = local.durable_function_storage_connection_string } : {}, @@ -274,12 +274,7 @@ resource "azurerm_function_app" "function_app" { tags = { environment = var.environment } - - lifecycle { - ignore_changes = [ - app_settings["WEBSITE_CONTENTSHARE"], - ] - } + } # this datasource has been introduced within version 2.27.0 diff --git a/azurerm_function_app_slot/main.tf b/azurerm_function_app_slot/main.tf index eb5e2e5..f8ea118 100644 --- a/azurerm_function_app_slot/main.tf +++ b/azurerm_function_app_slot/main.tf @@ -105,12 +105,6 @@ resource "azurerm_function_app_slot" "function_app_slot" { tags = { environment = var.environment } - - lifecycle { - ignore_changes = [ - app_settings["WEBSITE_CONTENTSHARE"], - ] - } } resource "azurerm_app_service_slot_virtual_network_swift_connection" "app_service_slot_virtual_network_swift_connection" {