Minor fixes

Some minor fixes to make this data source's function clearer.
This commit is contained in:
James Turnbull 2017-02-04 10:47:25 -05:00 committed by GitHub
parent 33f41ab7af
commit 3dfd9808d0
1 changed files with 4 additions and 5 deletions

View File

@ -3,18 +3,17 @@ layout: "aws"
page_title: "AWS: aws_autoscaling_groups"
sidebar_current: "docs-aws-datasource-autoscaling-groups"
description: |-
Provides a list of Autoscaling Groups within the specific availablity zone.
Provides a list of Autoscaling Groups within a specific region.
---
# aws\_autoscaling\_groups
The Autoscaling Groups data source allows access to the list of AWS
ASGs within the specific region. This will allow you to pass a list of AutoScaling groups to other resources.
ASGs within a specific region. This will allow you to pass a list of AutoScaling Groups to other resources.
## Example Usage
```
# Declare the data source
data "aws_autoscaling_groups" "groups" {}
resource "aws_autoscaling_notification" "slack_notifications" {
@ -31,10 +30,10 @@ resource "aws_autoscaling_notification" "slack_notifications" {
## Argument Reference
The data source currently takes no arguments as it uses the current region that the provider works in.
The data source currently takes no arguments as it uses the current region in which the provider is currently operating.
## Attributes Reference
The following attributes are exported:
* `names` - A list of the Autoscaling Groups in the region.
* `names` - A list of the Autoscaling Groups in the current region.