Propagate stack-level tags to resources
According to http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html "All stack-level tags, including automatically created tags, are propagated to resources that AWS CloudFormation supports. Currently, tags are not propagated to Amazon EBS volumes that are created from block device mappings."
This commit is contained in:
parent
66032ad37c
commit
519b8e59aa
3 changed files with 17 additions and 7 deletions
|
|
@ -26,7 +26,7 @@ class FakeStack(object):
|
|||
self.output_map = self._create_output_map()
|
||||
|
||||
def _create_resource_map(self):
|
||||
resource_map = ResourceMap(self.stack_id, self.name, self.parameters, self.region_name, self.template_dict)
|
||||
resource_map = ResourceMap(self.stack_id, self.name, self.parameters, self.tags, self.region_name, self.template_dict)
|
||||
resource_map.create()
|
||||
return resource_map
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue