sparse-intern-71089
07/16/2020, 7:23 PMlemon-agent-27707
07/16/2020, 7:50 PMpulumi stack output --json
will give you the serialized outputs. You can experiment with parsing them from there. You can probably start with JSON.parse()
quiet-hairdresser-18834
07/16/2020, 7:56 PMconst infra = new pulumi.StackReference(`[account]/core/dev`);
let groups = infra.getOutput("rdpRules");
var finalGroups = groups.apply<azure.types.input.network.NetworkSecurityGroupSecurityRule[]>(g => {
g.push(allowHttp);
g.push(denyHttp);
return g
});