If I'm using the Pulumi YAML provider, how would I extract an output to file? With any "full-fat" language, I would just use the language built-in for this but I'm not quite sure how (or if) this is possible with Pulumi YAML
07/06/2023, 2:54 PM
@some-carpenter-61778 you can’t directly from the language no. You can always specify outputs and do
pulumi stack output foo > foo.txt
07/06/2023, 4:52 PM
We have a bridged version of Terraforms "local" provider which can write out files.
You could add a "localindex/fileFile" to your yaml and set its "content" to the output your interested in, that should then write out the file on each update.