https://pulumi.com logo
#automation-api
Title
# automation-api
p

proud-cricket-86351

05/03/2022, 10:45 AM
Is it possible in the Pulumi automation API, to find out what the latest status of a stack is?
l

limited-rainbow-51650

05/03/2022, 11:15 AM
If you have a reference to a
Stack
, there is a
history
method: https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/pulumi/automation/#Stack-history This gives you a Promise containing an array of
UpdateSummary
. In such an object, you have access to the `result`: https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/pulumi/automation/#UpdateSummary-result
👍 1
4 Views