https://pulumi.com logo
#general
Title
# general
f

full-dress-10026

09/24/2018, 9:18 PM
Perhaps a console.log is not executing at the right stage. I have this:
Copy code
let myStackName = myStack.outputs.apply(o => o["VpcId"]);
console.log("out:", myStackName);
which prints this in Diagnostics after running `pulumi update`:
Copy code
pulumi:pulumi:Stack: infrastructure-infra-dev
    info: out: Output {
      __pulumiOutput: true,
      isKnown: Promise { <pending> },
      resources: [Function],
      promise: [Function],
      apply: [Function],
      get: [Function] }