gorgeous-spoon-23700
11/02/2020, 9:00 AMpulumi stack export
command and extracting the relevant info from the JSON data:
jq = local["/usr/local/bin/jq"]
pulumi = local["pulumi"]
chain = pulumi["stack", "export"] | jq['.deployment.resources[] | select(.type == "pulumi:pulumi:Stack") | .outputs.netcams']
netcams = json.loads(chain())
Should I wait for the python implementation of the Automation API? 😎rough-oxygen-8318
11/06/2020, 6:08 PM