I'm curious - is there a way to use Pulumi like a ...
# typescript
h
I'm curious - is there a way to use Pulumi like a regular module and invoke a "pulumi up" inside a node.js script, with all the output returned in a string (or object)? The reason I ask, is that I'm looking to use Pulumi in a more continuous model and not just a "one shot" call to pulumi up.
👍 1
w
Currently, you can do this by shelling out to the CLI and using
—json
flags. https://github.com/pulumi/pulumi/issues/3901 is tracking adding first class APIs for this.
👀 1
h
@white-balloon-205 Thanks for confirming my research AND looking forward to those first class APIs! :-)