Once the cluster is created with a default node pool and if we run a terraform apply after, it results in a forced replacement of the default node pool as it interprets the metadata for the node config specifically disable-legacy-endpoints has changed. Explicitly adding this metadata to the node config resolves the error.
Once the cluster is created with a default node pool and if we run a terraform apply after, it results in a forced replacement of the default node pool as it interprets the metadata for the node config specifically
disable-legacy-endpoints
has changed. Explicitly adding this metadata to the node config resolves the error.More info: https://github.com/hashicorp/terraform-provider-google/issues/3230 https://github.com/hashicorp/terraform-provider-google/issues/2626