@@ -90,6 +90,33 @@ See the `CloudFormation Limits Reference`_.
9090
9191.. _`CloudFormation Limits Reference` : http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cloudformation-limits.html
9292
93+
94+ S3 Bucket tags
95+ ----
96+
97+ Various resources in AWS support arbitrary key-value pair tags. You can set
98+ the `bucket_tags ` Top Level Keyword to populate tags on all S3 buckets Staker
99+ attempts to create for CloudFormation template uploads, inclduing the S3 bucket
100+ created by the aws_lambda pre-hook.
101+
102+ If bucket_tags is not set in your Configuration, stacker will fallback to the
103+ method used to determine tags in your config by the `tags ` top level keyword.
104+ The `bucket_tags ` keyword takes precedence over `tags ` when applying. Example::
105+
106+ bucket_tags:
107+ "hello": world
108+ "my_tag:with_colons_in_key": ${dynamic_tag_value_from_my_env}
109+ simple_tag: simple value
110+
111+ If you prefer to have no tags applied to your stacks (versus the default tags
112+ that stacker applies), specify an empty map for the top-level keyword::
113+
114+ bucket_tags: {}
115+
116+ Tags updates get applied on every stacker run
117+
118+ .. _`AWS CloudFormation Resource Tags Type` : http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html
119+
93120Module Paths
94121------------
95122When setting the ``classpath `` for blueprints/hooks, it is sometimes desirable to
@@ -220,29 +247,31 @@ Tags
220247----
221248
222249Various resources in AWS support arbitrary key-value pair tags. You can set
223- the `tags ` Top Level Keyword to populate tags on all Resources that support
224- that feature. The S3 bucket created by stacker for CloudFormation uploads and
225- all CloudFormation stack-level resources, including automatically created tags,
226- are propagated to resources that AWS CloudFormation supports. See
227- ` AWS CloudFormation Resource Tags Type `_ for more details.
250+ the `tags ` Top Level Keyword to populate tags on all Resources that Staker
251+ attempts to create via CloudFormation. All CloudFormation stack-level resources,
252+ including automatically created tags, are propagated to resources that AWS
253+ CloudFormation supports. See ` AWS CloudFormation Resource Tags Type `_ for
254+ more details.
228255
229256If no tags are specified, the `stacker_namespace ` tag is applied to your stack
230257with the value of `namespace ` as the tag value.
231258
232259If you prefer to apply a custom set of tags, specify the top-level keyword
233- `tags ` as a map. Example::
260+ `tags ` as a map. The `stacker_namespace ` tag will be automaticly added as well
261+ to help identify resources created by Stacker. Example::
234262
235263 tags:
236264 "hello": world
237265 "my_tag:with_colons_in_key": ${dynamic_tag_value_from_my_env}
238266 simple_tag: simple value
239267
268+
240269If you prefer to have no tags applied to your stacks (versus the default tags that stacker applies), specify an empty
241270map for the top-level keyword::
242271
243272 tags: {}
244273
245- Tags are updated on every stacker run
274+ Tags updates get applied on every stacker run
246275
247276.. _`AWS CloudFormation Resource Tags Type` : http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html
248277
0 commit comments