If I'm using the Pulumi YAML provider, how would I...
# general
s
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
b
@some-carpenter-61778 you can’t directly from the language no. You can always specify outputs and do
pulumi stack output foo > foo.txt
e
We have a bridged version of Terraforms "local" provider which can write out files. https://github.com/pulumi/pulumi-local 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.