diff --git a/terraform/ecs/cluster.tf b/terraform/ecs/cluster.tf index d8b69e3..4128177 100644 --- a/terraform/ecs/cluster.tf +++ b/terraform/ecs/cluster.tf @@ -118,7 +118,7 @@ resource "aws_ecs_task_definition" "app_task" { image = "public.ecr.aws/aws-observability/aws-otel-collector:${local.otel_image_tag}", cpu = local.otel_cpu, memory = local.otel_memory, - essential = false, + essential = true, command = [ "--config=/etc/ecs/ecs-amp-prometheus.yaml",