I'm having an issue that seems to happen only on t...
# general
p
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
Interesting - we're looking into this now.
l
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
Having the CLI and SDK versions would be very helpful, yes.
p
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
Opened https://github.com/pulumi/pulumi/issues/3587 to track this in GitHub,