forked from hashicorp/terraform
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
documentation: Add documentation for the ECS Cluster Data Source
Adds documentation for the ECS Cluster Data Source. Also removes duplicate struct declarations from the data source and test.
- Loading branch information
1 parent
4b2bb91
commit bbfbf87
Showing
4 changed files
with
46 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
website/source/docs/providers/aws/d/ecs_cluster.html.markdown
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
layout: "aws" | ||
page_title: "AWS: aws_ecs_cluster" | ||
sidebar_current: "docs-aws-datasource-ecs-cluster" | ||
description: |- | ||
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 Cluster | ||
* `status` - The status of the ECS Cluster | ||
* `pending_tasks_count` - The number of pending tasks for the ECS Cluster | ||
* `running_tasks_count` - The number of running tasks for the ECS Cluster | ||
* `registered_container_instances_count` - The number of registered container instances for the ECS Cluster |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters