mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-03-25 14:00:21 -04:00
Adds documentation for the ECS Cluster Data Source. Also removes duplicate struct declarations from the data source and test.
920 B
920 B
layout, page_title, sidebar_current, description
| layout | page_title | sidebar_current | description |
|---|---|---|---|
| aws | AWS: aws_ecs_cluster | docs-aws-datasource-ecs-cluster | Provides details about an ecs cluster |
aws_ecs_cluster
The ECS Cluster data source allows access to details of a specific cluster within an AWS ECS service.
Example Usage
data "aws_ecs_cluster" "ecs-mongo" {
cluster_name = "ecs-mongo-production"
}
Argument Reference
The following arguments are supported:
cluster_name- (Required) The name of the ECS Cluster
Attributes Reference
The following attributes are exported:
arn- The ARN of the ECS Clusterstatus- The status of the ECS Clusterpending_tasks_count- The number of pending tasks for the ECS Clusterrunning_tasks_count- The number of running tasks for the ECS Clusterregistered_container_instances_count- The number of registered container instances for the ECS Cluster