Channels
esc
welcome
pulumi-cdk
cloudengineering
yaml
blog-posts
localstack
pulumi-ai
package-authoring
policy-as-code
pulumiup-booth-support
oracle-cloud-infrastructure
learn-pulumi-events
linen
registry
built-with-pulumi
pulumi-cloud
contribex
testingtesting321
hacktoberfest
pulumi-crosscode
content-share
finops
multi-language-hackathon
office-hours
workshops
gitlab
general
pulumi-kubernetes-operator
jobs
pulumi-deployments
dotnet
aws
golang
announcements
java
pulumiverse
python
install
getting-started
cloudengineering-support
testingtesting123
hackathon-03-19-2020
typescript
google-cloud
contribute
azure
kubernetes
docs
automation-api
status
Powered by
#general
Title
# general
f
fast-easter-23401
01/20/2022, 9:14 PM
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
millions-furniture-75402
01/20/2022, 9:52 PM
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
fast-easter-23401
01/26/2022, 2:40 PM
This is great stuff, thanks
@millions-furniture-75402
!
3 Views
Post