-
Notifications
You must be signed in to change notification settings - Fork 84
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
EKS auto mode with ComputeConfig set yields terraform error #1597
Comments
I can repro this - |
I can also repro in TS:
I'm currently digging into it, but while debugging I see that we're setting all necessary options correctly. @smithrobs is right, this is related to #1585. Which is caused by an issue in the upstream terraform provider (hashicorp/terraform-provider-aws#40582). Right now the logic for enabling/disabling auto mode is quite broken. We'll have a look if we can improve this in any way on the Pulumi side or fixing it upstream is the only option |
The problem seems to be related to the GRPC log:
|
Yeah, the diff customizer is not taking possibly unknown values into account: https://github.com/hashicorp/terraform-provider-aws/blob/ae93494f39ba70fe442e891caf05f8df21bde1ac/internal/service/eks/cluster.go#L1776-L1791 I was also able to reproduce in TF (see pulumi/pulumi-aws#5105 (comment)). We could be able to work around this in the eks provider by making |
I was able to create a hotfix for this in the EKS provider: #1603. The diff and update behavior of the upstream provider needs some more involved fixes for auto mode going forward (hashicorp/terraform-provider-aws#40582). |
The fix was just merged in. The release should go out promptly |
@flostadler thank you very much! |
This issue has been addressed in PR #1603 and shipped in release v3.8.1. |
What happened?
Attempting to set
ComputeConfig
within auto mode configuration to enable a custom node role yields (what appears to be) a Terraform error onpulumi up
:Example
This is the smallest repro that will yield the error:
On
pulumi up
, this gives the error above.Output of
pulumi about
The text was updated successfully, but these errors were encountered: