Our containers launched in ECS using an EC2 cluster used the "ECS_CONTAINER_METADATA_FILE" mechanism of the container agent to get its task id.
This doesn't appear to work with Fargate launched containers. Is there a mechanism to introspect when running in a Fargate launched container using the "ECS_CONTAINER_METADATA_FILE"?
I understand that info for all tasks may be obtained with curl http://localhost:51678/v1/tasks