-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
bugSomething isn't workingSomething isn't workingtriagedScoped and ready for workScoped and ready for work
Description
TL;DR
When passing insecure_kubelet_readonly_port_enabled to beta-autopilot-private-cluster, network_tags is flapping like this
# module.my_cluster.module.gke.google_container_cluster.primary will be updated in-place
! resource "google_container_cluster" "primary" {
id = "projects/my-project/locations/europe-west1/clusters/my-cluster"
name = "my-cluster"
# (35 unchanged attributes hidden)
! node_pool_auto_config {
# (1 unchanged attribute hidden)
+ network_tags {}
# (1 unchanged block hidden)
}
# (38 unchanged blocks hidden)
}Should the default value here be {}?
Or do we need make network_tags dynamic too?
Expected behavior
No flapping
Observed behavior
No response
Terraform Configuration
module "gke" {
source = "terraform-google-modules/kubernetes-engine/google//modules/beta-autopilot-private-cluster"
version = "36.0.0"
# <snipped variables>
insecure_kubelet_readonly_port_enabled = false
}Terraform Version
1.10.5Terraform Provider Versions
.
├── provider[registry.terraform.io/hashicorp/google] >= 6.0.0
└── module.gke
├── provider[registry.terraform.io/hashicorp/kubernetes] ~> 2.10
├── provider[registry.terraform.io/hashicorp/random] >= 2.1.0
├── provider[registry.terraform.io/hashicorp/google] >= 6.14.0, < 7.0.0
└── provider[registry.terraform.io/hashicorp/google-beta] >= 6.14.0, < 7.0.0Additional information
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingtriagedScoped and ready for workScoped and ready for work