Is it possible in the Pulumi automation API, to fi...
# automation-api
p
Is it possible in the Pulumi automation API, to find out what the latest status of a stack is?
l
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