Merge pull request #11697 from jamtur01/patch-16

Minor fixes to AWS ASG data source docs
This commit is contained in:
James Nugent 2017-02-04 17:06:14 +01:00 committed by GitHub
commit 5bbed52e19
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.