Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclusively use (Terraform) taints to manage GKE clusters in the error state #4780

Closed
rileykarson opened this issue Oct 30, 2019 · 2 comments

Comments

@rileykarson
Copy link
Collaborator

rileykarson commented Oct 30, 2019

Affected Resource(s)

  • google_container_cluster
  • google_container_node_pool

Today, if a GKE cluster enters an error state during Create we delete the cluster during Create. With 0.12, it's possible to remove that behaviour. Errors during Create cause the cluster to get tainted, causing Terraform to delete the cluster.


As an additional extension, it may be possible to extend this behaviour to cover clusters in more error states. Read currently fails when a cluster is in an error state, so we may be able to taint the cluster in these cases.

Note that some error states may be recoverable. In those cases, we shouldn't taint the cluster.

I don't believe tainting in Read possible currently, so an issue will need to be filed at https://github.com/hashicorp/terraform-plugin-sdk.


Added to 4.0.0 so this gets evaluated then, it's a significant behaviour change that could-be-but-probably-isn't compatible.

b/299442706

@rileykarson rileykarson added this to the 4.0.0 milestone Oct 30, 2019
@rileykarson rileykarson changed the title Use (Terraform) taints to manage GKE clusters in the error state Exclusively use (Terraform) taints to manage GKE clusters in the error state Mar 27, 2020
modular-magician added a commit to modular-magician/terraform-provider-google that referenced this issue May 14, 2021
modular-magician added a commit that referenced this issue May 14, 2021
@github-actions
Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants