github.com/danp/terraform@v0.9.5-0.20170426144147-39d740081351/website/source/docs/providers/aws/d/ecs_cluster.html.markdown (about) 1 --- 2 layout: "aws" 3 page_title: "AWS: aws_ecs_cluster" 4 sidebar_current: "docs-aws-datasource-ecs-cluster" 5 description: |- 6 Provides details about an ecs cluster 7 --- 8 9 # aws\_ecs\_cluster 10 11 The ECS Cluster data source allows access to details of a specific 12 cluster within an AWS ECS service. 13 14 ## Example Usage 15 16 ```hcl 17 data "aws_ecs_cluster" "ecs-mongo" { 18 cluster_name = "ecs-mongo-production" 19 } 20 ``` 21 22 ## Argument Reference 23 24 The following arguments are supported: 25 26 * `cluster_name` - (Required) The name of the ECS Cluster 27 28 ## Attributes Reference 29 30 The following attributes are exported: 31 32 * `arn` - The ARN of the ECS Cluster 33 * `status` - The status of the ECS Cluster 34 * `pending_tasks_count` - The number of pending tasks for the ECS Cluster 35 * `running_tasks_count` - The number of running tasks for the ECS Cluster 36 * `registered_container_instances_count` - The number of registered container instances for the ECS Cluster