-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
permadrift on location_policy
with beta_private_cluster
#1445
Comments
I can report the same issue with https://registry.terraform.io/modules/terraform-google-modules/kubernetes-engine/google/latest. |
Thanks for the report, I suspect this is an upstream API change since GoogleCloudPlatform/magic-modules#6370 was recently added. |
#1448 possible fix in progress |
Im also having problems with location_policy with private-cluster
|
fix: location-policy permadrifting #1445
#1452 now allows you to specify |
Hi folks. Can we reopen? Still seeing this after the v24 release from #1447 |
Oh I see, have to set it explicitly 😞 |
does the fix work for node_pools under gke module or just for google_container_node_pool resource ? |
I also don't understand what to do regarding node_pools defined in a gke module. It seems there is nothing in the documentation of the module https://registry.terraform.io/modules/terraform-google-modules/kubernetes-engine/google/24.0.0 . |
For |
On pools nested in the gke module?
…On Thu, 8 Dec 2022, 17:03 Laura Seidler, ***@***.***> wrote:
For node_pools, setting the location_policy key works for us.
—
Reply to this email directly, view it on GitHub
<#1445 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAUL2A2QB53TSGW7RGH5L3WMIBEDANCNFSM6AAAAAARTSG7XA>
.
You are receiving this because you commented.Message ID:
<terraform-google-modules/terraform-google-kubernetes-engine/issues/1445/1342949038
@github.com>
|
…#1452) fix: location-policy permadrifting terraform-google-modules#1445
TL;DR
With v4.41.0 of the terraform provider, we're seeing permadrift with autoscaling => location_policy (with module default settings for autoscaling). I was able to create a simple repro case below.
Expected behavior
Terraform to apply clean
Observed behavior
Terraform Configuration
Terraform Version
Additional information
Maybe has to do with deleting default nodepool, but
cluster_autoscaling
seems to have balanced mode as default. https://registry.terraform.io/modules/terraform-google-modules/kubernetes-engine/google/latest/submodules/beta-private-clusterI tried going back to 4.36, 4.38, 4.39 providers etc., and the problem persists, so maybe this is an API level change or something else?
If I run with
TF_LOG=debug
, I seeas well as
in API responses
Tested older and newer provider versions, but let me know if this seems to be an upstream provider (and / or Google API response changing) issue. I also tested jumping back to v22.1.0 of this module.
The text was updated successfully, but these errors were encountered: