From 00ca13fe95d42bb3198a75dcbc8f5b264b6d8346 Mon Sep 17 00:00:00 2001 From: Gabriel Dos Santos Date: Tue, 23 Sep 2025 17:14:32 -0400 Subject: [PATCH] Update ECS Fargate docs to include reference to bug w/ running Agent in task mode and ability to connect to task containers --- modules/ecs_fargate/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/ecs_fargate/README.md b/modules/ecs_fargate/README.md index c99dded..da14d45 100644 --- a/modules/ecs_fargate/README.md +++ b/modules/ecs_fargate/README.md @@ -199,6 +199,10 @@ The default Datadog site is `datadoghq.com`. To use a different site set the `DD All of the input variables prefixed with `dd` are related to Datadog configuration. In order to further customize the Datadog agent configuration beyond the provided interface in this module, you can use the `dd_environment_variables` input argument to customize the Agent configuration. **Note** that `dd_environment_variables` overwrites any other environment variables with the same keys defined. For more information on Datadog configuration, reference [Amazon ECS on AWS Fargate](https://docs.datadoghq.com/integrations/ecs_fargate/?tab=webui) Datadog documentation. +### Miscellaneous + +To support Process monitoring with the Datadog Agent, the Fargate task must run with `pid_mode` set to `task`. This configuration, however, results in a bug limiting `exec` access onto only one container in the task. For more information, see the [related github issue](https://github.com/aws/containers-roadmap/issues/2268). If you require exec access, you can explicitly set the `pid_mode` to `null`. + ## Requirements