Hello folks, Is there any way in which I could pro...
# general
f
Hello folks, Is there any way in which I could programmatically interrogate my current stack state and get a serialized response (in json or yaml) ? I'm using a managed backend and TS. Does the automation API offer such a capability? Thanks.
m
Have you looked at:
pulumi stack export > stack.json
Alternatively, if you use the Pulumi service, there is a REST API https://www.pulumi.com/docs/reference/service-rest-api/#get-stack-state
f
This is great stuff, thanks @millions-furniture-75402!