From 46f50b821d54f84e1686bd4935a6be5f1168d0bc Mon Sep 17 00:00:00 2001 From: Nate Ferrell Date: Fri, 19 Nov 2021 12:26:23 -0600 Subject: [PATCH] Updated `set_template_description()` Troposphere updated the underlying method name to be `set_description()` instead of `add_description()`. Without patching this behavior, setting a description on the top-level config file is unusable with the latest version of Troposphere, returning the following: `AttributeError: 'Template' object has no attribute 'add_description'` --- stacker/blueprints/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stacker/blueprints/base.py b/stacker/blueprints/base.py index ec1cd52a7..42eb7ccce 100644 --- a/stacker/blueprints/base.py +++ b/stacker/blueprints/base.py @@ -539,7 +539,7 @@ def set_template_description(self, description): template. """ - self.template.add_description(description) + self.template.set_description(description) def add_output(self, name, value): """Simple helper for adding outputs.