sparse-intern-71089
01/21/2019, 7:32 PMchilly-photographer-60932
01/22/2019, 6:02 PMchilly-photographer-60932
01/22/2019, 6:02 PMwhite-balloon-205
x
whose value is:
{
"active": true,
"nums": [
1,
2,
3
]
}
The following program:
const s = new pulumi.StackReference("other", {
name: "bucketlistobjects",
});
const o = s.getOutput("x");
o.apply(x => console.log(x.nums[1]));
Prints 2
as expected.white-balloon-205
error: TypeError: subnetIds is not iterable
error. Which line of code is reporting that?incalculable-angle-91273
01/22/2019, 7:04 PMconsole.log
inside an apply
really helped me debug it 👍chilly-photographer-60932
01/22/2019, 8:18 PM