From 303b149cce113ea7f85ca76ba3c0745cbdd09773 Mon Sep 17 00:00:00 2001 From: Maciej Murawski Date: Tue, 23 Jun 2026 13:00:02 +0100 Subject: [PATCH] fix: add the retention_period_days to lifecycle ignore changes block --- infrastructure/modules/function-app/main.tf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/infrastructure/modules/function-app/main.tf b/infrastructure/modules/function-app/main.tf index 35fea655..bb078f68 100644 --- a/infrastructure/modules/function-app/main.tf +++ b/infrastructure/modules/function-app/main.tf @@ -78,7 +78,10 @@ resource "azurerm_linux_function_app" "function_app" { # To prevent Terraform removing 'hidden-link:' tagging created automatically by AzureRM lifecycle { - ignore_changes = [tags] + ignore_changes = [ + tags, + site_config[0].app_service_logs + ] } }