Just use a standard yaml library to do this, no need to use automation api.
s
stale-zoo-97300
06/28/2023, 12:57 PM
Thanks Fraser, was hoping the api presents both the stack state and the stack definition, but can parse the yaml file on disk, as you suggest.
e
echoing-dinner-19531
06/28/2023, 1:00 PM
YAML programs are an extension to the core project file specification so I don't think we'd ever extend automation api to cover that, would require trying to keep all the automation apis in sync with YAML and the intention is these different runtimes shouldn't need to care about each other.
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.