From 9de576debcef61ca0773d50c7dcb680f7f5b6632 Mon Sep 17 00:00:00 2001 From: ignatovich-artem Date: Mon, 23 Oct 2023 13:28:02 +0300 Subject: [PATCH] enable service tags propogation to tasks --- ecs-cluster.tf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ecs-cluster.tf b/ecs-cluster.tf index eb3f01d..b175bbb 100644 --- a/ecs-cluster.tf +++ b/ecs-cluster.tf @@ -76,6 +76,8 @@ resource "aws_ecs_service" "this" { enable_execute_command = var.enable_execute_command + propagate_tags = "SERVICE" + lifecycle { ignore_changes = [desired_count] }