diff --git a/modules/container_app/container_app.tf b/modules/container_app/container_app.tf index fe56ccc..818cc6f 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 = var.ignore_changes + ignore_changes = [ template[0].container[0].image, registry.server ] } } diff --git a/modules/container_app/variables.tf b/modules/container_app/variables.tf index 775d632..bf53cef 100644 --- a/modules/container_app/variables.tf +++ b/modules/container_app/variables.tf @@ -46,11 +46,6 @@ variable "domain_name" { type = string } -variable "ignore_changes" { - default = [] - type = list(string) -} - variable "ingress_external_enabled" { default = false type = bool