glamorous-australia-21342
06/08/2022, 2:15 PMpulumi query
, but I'd like it to execute at pulumi up
. I tried pulumi query
anyways and I get some odd errors -
pulumi query
Error: Program run without the Pulumi engine available; re-run using the `pulumi` CLI
gorgeous-egg-16927
06/08/2022, 2:59 PMkubectl
command that returns the info you need formatted as JSON, and it should be fairly straightforward to parse the results. This requires the kubectl
binary to be available wherever that pulumi program is running, but it’s quite flexible.glamorous-australia-21342
06/08/2022, 3:00 PMfamous-salesclerk-74711
06/08/2022, 10:47 PMkubectl
in between steps if you were to install it in a setup step