From df468e3327368883f520a381b100d8b5d6c1ebe2 Mon Sep 17 00:00:00 2001 From: lucasmacedot Date: Mon, 5 Aug 2024 18:48:34 -0400 Subject: [PATCH] Add `AmazonECSManaged` tag to autoscaling group --- asg.tf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/asg.tf b/asg.tf index a7f2f2b..1eb672f 100644 --- a/asg.tf +++ b/asg.tf @@ -36,7 +36,8 @@ resource "aws_autoscaling_group" "ecs" { dynamic "tag" { for_each = merge( { - Name = "ecs-node-${var.name}" + Name = "ecs-node-${var.name}", + AmazonECSManaged = "" }, var.tags )