-
Notifications
You must be signed in to change notification settings - Fork 81
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
Go: Error when accessing CoreDataOutput of eks.Cluster #537
Comments
@justinvp Can you take a look at this? |
@justinvp: Can you help with this? |
@lblackstone, @justinvp : Wondering if you can help with a workaround if not a fix. Thanks! |
Hi @bothra90. Sorry for the trouble here. Thanks for opening the issue and your patience! This appears to be an issue in our Go SDK codegen. All of our pulumi-eks/sdk/go/eks/managedNodeGroup.go Lines 28 to 32 in 05628f7
However, to support components that return other resources, we need to be able to "rehydrate" those resources, and we do so by calling its associated Lines 27 to 28 in d343323
Always returning an error for nil args is the problem here. We need to update the codegen to not return an error when a URN is passed-in: https://github.com/pulumi/pulumi/blob/22f332e094c5c2cf4afa1a841c3c3b7971a6952c/pkg/codegen/go/gen.go#L1049-L1055. And then re-run the codegen for EKS. |
@justinvp : Thanks for getting back. I see various accesses to fields inside |
We will get this fixed during the current milestone (which ends April 2) |
The Go SDK codegen bug causing this issue has been fixed. Next we'll need to adopt change in |
The fix is included in |
I added the following to my eks cluster setup project:
where eksCluster is defined as:
Current behavior
I'm getting the following error when running pulumi preview:
When I run the command with
--verbose 6
, the logs show:Expected behavior
No error
Context (Environment)
I'm following the instructions here to get IAM roles for my kubernetes services.
Affected feature
Adding OIDC provider to an EKS cluster and accessing its output value.
I get the same error when trying to accomplish this via another output value:
The text was updated successfully, but these errors were encountered: