From 7c4059149857fec11ac11e86f2dfa07c3710b98a Mon Sep 17 00:00:00 2001 From: Monica Hart Date: Wed, 20 Mar 2024 16:11:28 -0500 Subject: [PATCH] Adding ecs service ignore (#10) * adding lifecycle event to ignore task def, desired count, and load balancer changes * Revert "adding lifecycle event to ignore task def, desired count, and load balancer changes" This reverts commit 683eccc687293dd48542c0a0d9a8cebc5ea96aa0. * asking terraform to ignore changes to load balancer when blue/green deploys happen --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 5018057b..d15c2b8a 100644 --- a/main.tf +++ b/main.tf @@ -454,7 +454,7 @@ resource "aws_ecs_service" "ignore_changes_task_definition" { triggers = local.redeployment_trigger lifecycle { - ignore_changes = [task_definition] + ignore_changes = [task_definition, load_balancer] } # Avoid race condition on destroy.