Skip to content

Commit

Permalink
Documentation for ASG Tags added
Browse files Browse the repository at this point in the history
  • Loading branch information
Radek Simko committed Feb 27, 2015
1 parent 3918a1d commit b4a89fb
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions website/source/docs/providers/aws/r/autoscale.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,16 @@ resource "aws_autoscaling_group" "bar" {
desired_capacity = 4
force_delete = true
launch_configuration = "${aws_launch_configuration.foobar.name}"
tag {
key = "foo"
value = "bar"
propagate_at_launch = true
}
tag {
key = "lorem"
value = "ipsum"
}
}
```

Expand All @@ -44,6 +54,14 @@ The following arguments are supported:
group names.
* `vpc_zone_identifier` (Optional) A list of subnet IDs to launch resources in.
* `termination_policies` (Optional) A list of policies to decide how the instances in the auto scale group should be terminated.
* `tag` (Optional) A list of tag blocks. Tags documented below.

Tags support the following:

* `key` - (Required) Key
* `value` - (Required) Value
* `propagate_at_launch` - (Optional) Enables propagation of the tag to
Amazon EC2 instances launched via this ASG

## Attributes Reference

Expand Down

0 comments on commit b4a89fb

Please sign in to comment.