terraform-google-kubernetes-engine icon indicating copy to clipboard operation
terraform-google-kubernetes-engine copied to clipboard

deletion_protection does not protect nodepools

Open szihai opened this issue 1 year ago • 0 comments

TL;DR

As the result, the nodes are removed but the control plane is preserved. That leads the cluster to a limbo state.

Expected behavior

Be consistant with all the resources in the cluster

Observed behavior

No response

Terraform Configuration

I just upgraded Terraform module version to v29. By default deletion_protection is true. And when I destroy a cluster, the nodepool was deleted but the cluster deletion failed as expected.

Terraform Version

Terraform v1.6.6
on linux_amd64

Additional information

No response

szihai avatar Feb 05 '24 20:02 szihai