From 928cf9c733300b9df782b887fbdace95ff168610 Mon Sep 17 00:00:00 2001 From: Noah Spannbauer Date: Sun, 24 Aug 2025 09:57:23 -0500 Subject: [PATCH] updating modules --- modules/container_app/container_app.tf | 2 +- modules/container_app/variables.tf | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/container_app/container_app.tf b/modules/container_app/container_app.tf index 58f2f9b..fe56ccc 100644 --- a/modules/container_app/container_app.tf +++ b/modules/container_app/container_app.tf @@ -111,7 +111,7 @@ resource "azurerm_container_app" "container_app_app" { } lifecycle { - ignore_changes = [ template[0].container[*].image, template[0].init_container[*].image, registry.server ] + ignore_changes = var.ignore_changes } } diff --git a/modules/container_app/variables.tf b/modules/container_app/variables.tf index bf53cef..775d632 100644 --- a/modules/container_app/variables.tf +++ b/modules/container_app/variables.tf @@ -46,6 +46,11 @@ variable "domain_name" { type = string } +variable "ignore_changes" { + default = [] + type = list(string) +} + variable "ingress_external_enabled" { default = false type = bool