https://pulumi.com logo
r

red-scooter-62880

06/02/2022, 9:26 PM
Hi. Do you know if it is possible to export a preview in JSON format when using the await stack.PreviewAsync(); with Pulumi Automation API? I need the same JSON output as if I ran Pulumi CLI command: pulumi preview --json
b

billowy-army-68599

06/02/2022, 9:32 PM
i do not believe that has been added to the automation API yet, unfortunately 😞
r

red-scooter-62880

06/02/2022, 9:33 PM
Hmm is there some alternative option, such as querying the Pulumi API? 🙂
6 Views