We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 377c5dd + 6432ac8 commit 5221089Copy full SHA for 5221089
src/e3/aws/troposphere/__init__.py
@@ -445,10 +445,11 @@ def _show(self, stack: cfn.Stack) -> None:
445
# and so is not able to diff itself. This must be done via the PyFunction
446
# construct
447
for construct in stack.constructs:
448
- if self.args.diff:
449
- construct.diff(stack=stack)
450
- else:
451
- construct.show(stack=stack)
+ if isinstance(construct, Construct):
+ if self.args.diff:
+ construct.diff(stack=stack)
+ else:
452
+ construct.show(stack=stack)
453
454
# Output the rest of the stack
455
super()._show(stack=stack)
0 commit comments