-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
master_global_access_config does not apply on existing private cluster #10444
Comments
could you provide the debug logs for this request? potentially scrubbed of any PII You can do so by enabling TF_LOG=DEBUG and TF_LOG_PATH= |
The update of the cluster is also failing in the reverse. If a cluster is created with global access enabled and then it is manually disabled, Terraform will see the need to update it, and it will "apply" successfully, but no change is made. The plan will consistently show:
We are using the following versions
|
This should already be fixed in GoogleCloudPlatform/magic-modules#6932 and GoogleCloudPlatform/magic-modules#8314 |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
modular-magician
user, it is either in the process of being autogenerated, or is planned to be autogenerated soon. If an issue is assigned to a user, that user is claiming responsibility for the issue. If an issue is assigned tohashibot
, a community member has claimed the issue already.Terraform Version
Affected Resource(s)
google_container_cluster
Terraform Configuration Files
Debug Output
N/A
Panic Output
N/A
Expected Behaviour
When adding the
master_global_access_config
to the cluster is should update and enable it.Actual Behaviour
In Plan, TF does know that it needs to update it. However, on apply it doesn't seem to do anything. Subsequent plans continue to identify that this needs needs updating but it never happens. It's confirmed by the Console and gCloud that the flag has not taken effect. On the same cluster I then ran
gcloud containers update <name> --enable-master-global-access
which successfully applied the flag and this no longer showed up in the terraform plan.Steps to Reproduce
master_global_access_config
,master_global_access_config.enabled=true
Important Factoids
This flag does work if building the cluster from scratch. It's only the update that appears to be a problem.
References
The text was updated successfully, but these errors were encountered: