Skip to content

Commit 608f074

Browse files
authored
removed block lifecycle (pagopa-archive#240)
1 parent 620f756 commit 608f074

File tree

2 files changed

+2
-13
lines changed

2 files changed

+2
-13
lines changed

azurerm_function_app/main.tf

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ resource "azurerm_function_app" "function_app" {
263263
},
264264
var.app_settings,
265265
module.secrets_from_keyvault.secrets_with_value,
266-
var.durable_function.enable ? {
266+
var.durable_function.enable ? {
267267
DURABLE_FUNCTION_STORAGE_CONNECTION_STRING = local.durable_function_storage_connection_string
268268
INTERNAL_STORAGE_CONNECTION_STRING = local.durable_function_storage_connection_string
269269
} : {},
@@ -274,12 +274,7 @@ resource "azurerm_function_app" "function_app" {
274274
tags = {
275275
environment = var.environment
276276
}
277-
278-
lifecycle {
279-
ignore_changes = [
280-
app_settings["WEBSITE_CONTENTSHARE"],
281-
]
282-
}
277+
283278
}
284279

285280
# this datasource has been introduced within version 2.27.0

azurerm_function_app_slot/main.tf

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,6 @@ resource "azurerm_function_app_slot" "function_app_slot" {
105105
tags = {
106106
environment = var.environment
107107
}
108-
109-
lifecycle {
110-
ignore_changes = [
111-
app_settings["WEBSITE_CONTENTSHARE"],
112-
]
113-
}
114108
}
115109

116110
resource "azurerm_app_service_slot_virtual_network_swift_connection" "app_service_slot_virtual_network_swift_connection" {

0 commit comments

Comments
 (0)