Skip to content
This repository has been archived by the owner on Mar 27, 2023. It is now read-only.

Function app removed lifecycle block #240

Merged
merged 1 commit into from
Nov 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions azurerm_function_app/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
} : {},
Expand All @@ -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
Expand Down
6 changes: 0 additions & 6 deletions azurerm_function_app_slot/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down