How to read the describe_stack Output attribute


i have created a stack in cloudformatin and wants to get the output.
My code is:

Returns an object


The call to describe_stacks should return a list of Stack objects, not a single StackSummary object. Let’s just walk through a complete example to avoid confusion.

First, do something like this:

At this point the variable stack is a Stack object. The outputs of the stack are available as the outputs attribute of stack. This attribute will contain a list of Output objects which, in turn, have a key, value, and description attribute. So, this would print all of the outputs:

Leave a Reply