Closed glimberg closed 1 year ago
Similar issue when I try to change the setting in an existing public cluster (works via google UI):
- Using previously-installed hashicorp/google-beta v4.71.0
- Using previously-installed hashicorp/random v3.5.1
- Using previously-installed hashicorp/google v4.71.0
- Using previously-installed hashicorp/null v3.1.1
- Using previously-installed hashicorp/kubernetes v2.21.1
{
"Key": "gke",
"Source": "registry.terraform.io/terraform-google-modules/kubernetes-engine/google",
"Version": "26.1.1",
"Dir": ".terraform/modules/gke"
},
adding enable_l4_ilb_subsetting = true
to an existing cluster results in:
╷
│ Error: Unsupported argument
│
│ on main.tf line 564, in module "gke":
│ 564: enable_l4_ilb_subsetting = true
│
│ An argument named "enable_l4_ilb_subsetting" is not expected here.
╵
According to this PR: https://github.com/terraform-google-modules/terraform-google-kubernetes-engine/pull/896 I expected it to work.
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days
TL;DR
When specifying
enable_l4_ilb_subsetting = false
in cluster creation, the cluster gets created with the feature enabled anyway. Because of this, subsequent runs cause a full cluster replacement also with enable_l4_ilb_subsetting enabled.Expected behavior
Cluster should be created with enable_l4_ilb_subsetting = false
Observed behavior
Cluster is created enable_l4_ilb_subsetting = true causing a replacement cycle every time a change is applied.
Terraform Configuration
Terraform Version
Additional information
No response