#2388 - CloudFormation - CreateChangeSet does not create resources, as per spec

This commit is contained in:
Bert Blommers 2020-03-24 10:22:08 +00:00
commit 04f488da62
3 changed files with 31 additions and 4 deletions

View file

@ -529,14 +529,16 @@ class ResourceMap(collections_abc.Mapping):
for condition_name in self.lazy_condition_map:
self.lazy_condition_map[condition_name]
def create(self):
def load(self):
self.load_mapping()
self.transform_mapping()
self.load_parameters()
self.load_conditions()
def create(self):
# Since this is a lazy map, to create every object we just need to
# iterate through self.
# Assumes that self.load() has been called before
self.tags.update(
{
"aws:cloudformation:stack-name": self.get("AWS::StackName"),