I am doing a nodepool update on GKE via terraform. when I make the version update from 1.18 to 1.19 in terraform file and then run the terraform plan command its show me below output…
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
# google_container_node_pool.version will be updated in-place
~ resource "google_container_node_pool" "version" {
cluster = "version-upgrade"
id = "projects/aerial-acre-12345/locations/us-central1-c/clusters/version-upgrade/nodePools/version"
Plan: 0 to add, **1 to change**, 0 to destroy.
# trimmed the output
It shows 1 to change...
what does this mean is? >> ~ update in-place
But when I ran a terraform apply, it created a new instance and deleted the old instance .. WHY?