https://pulumi.com logo
i

important-librarian-11689

09/26/2019, 2:29 PM
hi there o/ I see pulumi scripts need to be invoked using a custom runtime, "pulumi". I would be interested in using pulumi as a library, from a custom k8s operator. Is this possible somehow - for example if I run the engine in a separate k8s pod?
b

broad-dog-22463

09/26/2019, 2:32 PM
Hi, we don’t have an SDK option as of this time - it’s CLI only I’m afraid
w

white-balloon-205

09/26/2019, 2:52 PM
Note that you can programmatically shell out to
pulumi
and there are
—json
flags on many cli commands to produce programmatically readable output. Many users are doing this today to “use Pulumi as a library” in programmatic workflows.
i

important-librarian-11689

09/26/2019, 2:58 PM
that seemed to be the case, but from the docs I couldnt completely grasp why 🙂 it d be awesome to be able to generate that JSON from a SDK and then just send that to the runtime... some day! Thanks a lot for the replies 👍