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

Commit

Permalink
removed block lifecycle (#240)
Browse files Browse the repository at this point in the history
  • Loading branch information
uolter authored Nov 29, 2021
1 parent 620f756 commit 608f074
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
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

0 comments on commit 608f074

Please sign in to comment.