Skip to content

Commit 20ca09e

Browse files
committed
Move export metadata back
1 parent 5792b93 commit 20ca09e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

awscli/customizations/cloudformation/artifact_exporter.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,6 +683,8 @@ def export(self):
683683
LOG.exception(msg)
684684
raise exceptions.InvalidModuleError(msg=msg)
685685

686+
self.template_dict = self.export_metadata(self.template_dict)
687+
686688
if RESOURCES not in self.template_dict:
687689
return self.template_dict
688690

@@ -698,7 +700,6 @@ def export(self):
698700
LOG.exception(msg)
699701
raise exceptions.InvalidModuleError(msg=msg)
700702

701-
self.template_dict = self.export_metadata(self.template_dict)
702703
self.template_dict = self.export_global_artifacts(self.template_dict)
703704
self.export_resources(self.template_dict[RESOURCES])
704705

0 commit comments

Comments
 (0)