Data Source: aws_ecs_container_definition

The ECS container definition data source allows access to details of a specific container within an AWS ECS service.

Example Usage

data "aws_ecs_container_definition" "ecs-mongo" {
  task_definition = aws_ecs_task_definition.mongo.id
  container_name  = "mongodb"
}

Argument Reference

This data source supports the following arguments:

Attribute Reference

This data source exports the following attributes in addition to the arguments above: