-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
TL;DR
Seems like values that are set during the creation of node pool through UI are incompatible with existing module defaults which leads to node pool recreation, and there is no way to specify desired values in the module inputs.
Expected behavior
Successful import of the resource without recreation
Observed behavior
- advanced_machine_features { # forces replacement
- enable_nested_virtualization = false -> null
- threads_per_core = 0 -> null
}
- queued_provisioning { # forces replacement
- enabled = false -> null
}
Terraform Configuration
node_pools = [
{
name = "nodepool"
auto_repair = true
auto_upgrade = false
initial_node_count = 1
min_count = 1
max_count = 44
max_surge = 6
machine_type = "e2-custom-24-98304"
version = "1.30.5-gke.1713000"
preemptible = false
enable_nested_virtualization = false
threads_per_core = 0
},
]Terraform Version
1.11.1Terraform Provider Versions
google = {
source = "hashicorp/google"
version = ">= 6.14.0, < 7"
}
google-beta = {
source = "hashicorp/google-beta"
version = ">= 6.14.0, < 7"
}
kubernetes = {
source = "hashicorp/kubernetes"
version = "~> 2.10"
}
random = {
source = "hashicorp/random"
version = ">= 2.1"
}Additional information
No response
hisham-albeik, cwh-hcl and Iskaldr
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working