From 7950ace39940f2d92512e6729d1567307ab2a2dd Mon Sep 17 00:00:00 2001 From: Radek Simko Date: Mon, 2 Mar 2015 23:40:47 +0000 Subject: [PATCH] Documentation for ASG Tags added --- .../providers/aws/r/autoscale.html.markdown | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/website/source/docs/providers/aws/r/autoscale.html.markdown b/website/source/docs/providers/aws/r/autoscale.html.markdown index bb592a819..fe0643b72 100644 --- a/website/source/docs/providers/aws/r/autoscale.html.markdown +++ b/website/source/docs/providers/aws/r/autoscale.html.markdown @@ -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 + } } ``` @@ -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