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 authored and radeksimko committed Mar 10, 2015
1 parent 24a014a commit 66cc5dd
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 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,17 @@ 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"
propagate_at_launch = false
}
}
```

Expand All @@ -44,6 +55,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` - (Required) Enables propagation of the tag to
Amazon EC2 instances launched via this ASG

## Attributes Reference

Expand Down

0 comments on commit 66cc5dd

Please sign in to comment.