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

plain-businessperson-30883

11/26/2019, 4:40 PM
I'm having an issue that seems to happen only on the latest Pulumi version
1.6.0
. I have a stack reference and retrieve an output using
getOutputSync()
but the output becomes undefined. The same code works with version
1.5.2
. Still in version
1.6.0
, if I execute the following snippet I can see the whole output as expected
namespacesStack.outputs.apply(o => console.log(o));
. Anyone having the same issue?
w

white-balloon-205

11/26/2019, 6:43 PM
Interesting - we're looking into this now.
l

lemon-spoon-91807

11/26/2019, 7:22 PM
So we recently made a change to out getOutputSync works. That change came in: https://github.com/pulumi/pulumi/commit/d4aa5fe20d0425ed3de0f1dbff630c5141bf26c5
however, moving to the new version of the SDK requires a new version of Pulumi application. Is it possible you have only update teh SDK and not Pulumi itself?
m

microscopic-florist-22719

11/26/2019, 8:22 PM
Having the CLI and SDK versions would be very helpful, yes.
p

plain-businessperson-30883

11/26/2019, 9:24 PM
Here's my dependency tree in yarn: https://gist.github.com/fernandocarletti/14d72e4ee9fd29d39256b09e1aee002d
Copy code
$ pulumi version
v1.6.0
Copy code
$ pulumi plugin ls
NAME        KIND      VERSION  SIZE    INSTALLED      LAST USED
aws         resource  1.11.0   185 MB  2 minutes ago  38 seconds ago
kubernetes  resource  1.3.1    49 MB   2 minutes ago  38 seconds ago
mysql       resource  1.1.0    43 MB   2 minutes ago  38 seconds ago
postgresql  resource  1.1.0    41 MB   2 minutes ago  38 seconds ago
vault       resource  1.2.0    48 MB   2 minutes ago  38 seconds ago

TOTAL plugin cache size: 366 MB
I believe I have the latest version of everything. We rely on Dependabot, so it should no be outdated.
I'm an macOS user, I see that this problem does not happen in a docker container 😞
w

white-balloon-205

11/26/2019, 11:50 PM
Opened https://github.com/pulumi/pulumi/issues/3587 to track this in GitHub,