chilly-article-21928
11/03/2019, 11:37 AMStackReference.getOutputSync or StackReference.requireOutputSync. In both cases, when I run pulumi preview, the program get stuck calling these functions. Is it a known issue ?
Here is the snippet:
const env = pulumi.getStack();
const network = new pulumi.StackReference(`Shiroy/webhosting-network/${env}`);
const privateSubnetIds = <string[]>(
network.requireOutputSync("privateSubnetIds")
);
console.log(privateSubnetIds);