-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Unexpected struct type. #2962
Comments
Updating to the latest pulumi broke my project and kept causing this error but I was able to fix it by removing all references to Checked on both Windows and Ubuntu 18.04 (WSL)
"@pulumi/gcp": {
"version": "0.18.13",
"resolved": "https://registry.npmjs.org/@pulumi/gcp/-/gcp-0.18.13.tgz",
"integrity": "sha512-V/62AjBBY8+xDDCFYfFdBVIr3ipqNXoJ87rMHVrHak55oDfvDuIXpNUsMJ2SKoDGtGik2MkkK8visCu0PYBxLQ==",
"requires": {
"@pulumi/pulumi": "^0.17.8",
"@types/express": "^4.16.0",
"read-package-json": "^2.0.13"
}
},
"@pulumi/kubernetes": {
"version": "0.25.2",
"resolved": "https://registry.npmjs.org/@pulumi/kubernetes/-/kubernetes-0.25.2.tgz",
"integrity": "sha512-f/hRxbN+HCjY1ZU8jOBpB5wajhs2+nYTH7tc19edphpRBDcZP7RI4VFjOGNyDz+HM51M1AErf5yfsr85qzVbBw==",
"requires": {
"@pulumi/pulumi": "^0.17.18",
"@types/glob": "^5.0.35",
"@types/js-yaml": "^3.11.2",
"@types/node-fetch": "^2.1.4",
"@types/tmp": "^0.0.33",
"glob": "^7.1.2",
"js-yaml": "^3.12.0",
"node-fetch": "^2.3.0",
"shell-quote": "^1.6.1",
"tmp": "^0.0.33"
}
},
"@pulumi/pulumi": {
"version": "0.17.25",
"resolved": "https://registry.npmjs.org/@pulumi/pulumi/-/pulumi-0.17.25.tgz",
"integrity": "sha512-BalQpFG2T3gxiI5luzu/sleNBfe5AOt9fjRihO6fOC06V241iBiBfO/Ez17cC4aj5SLtGtU+lk/iRv++wzhDJQ==",
"requires": {
"@pulumi/query": "^0.3.0",
"deasync": "^0.1.15",
"google-protobuf": "^3.5.0",
"grpc": "1.21.1",
"minimist": "^1.2.0",
"normalize-package-data": "^2.4.0",
"protobufjs": "^6.8.6",
"read-package-tree": "^5.3.1",
"require-from-string": "^2.0.1",
"semver": "^6.1.0",
"source-map-support": "^0.4.16",
"ts-node": "^7.0.0",
"typescript": "^3.0.0",
"upath": "^1.1.0"
}
}, |
I have been unable to reproduce this issue, so I'm going to close it out for now. We can re-open if it crops up again. |
Im experiencing the same issue when trying to output a kubeconfig string. Im running:
index.ts
This is the error:
|
I see the same results as @jesus-curiel with that same example on latest packages. This only happens on the initial preview though. If I The error is in
|
I was having an issue (JavaScript) with |
I had the same problem. It was related to all the provider methods that returned an After I returned The same goes for |
For me this seem to happen on When the key had a value it worked E.g., I had the return Promise.resolve({
outs: {
myKey: undefined, // It worked out as undefined in a particular scenario
value: {
body // response body of update call
}
}
} |
When updating from this:
@pulumi/pulumi
:0.17.12
@pulumi/kubernetes
:0.23.1
@pulumi/gcp
:0.18.5
To this (only updating
@pulumi/pulumi
):@pulumi/pulumi
:0.17.23
@pulumi/kubernetes
:0.23.1
@pulumi/gcp
:0.18.5
A user hit this:
They were able to solve this by also updating
@pulumi/gcp
and@pulumi/kubernetes
- to this:@pulumi/pulumi
:0.17.23
@pulumi/kubernetes
:0.25.2
@pulumi/gcp
:0.18.13
There is no detail in the logs to identify what resource triggered this error.
The text was updated successfully, but these errors were encountered: