-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Cannot import GKE without nodepool block definition #9427
Comments
@puzzloholic so you imported both the cluster and node_pool resources, right ?. You should be able to remove it from the cluster without recreating the cluster. Can you share both the |
@venkykuberan, I manage to switch nodepool management to This is my resource config after importing the cluster and each of the nodepool.
What I want to remove is all But, when I try removing all So, that's it, I manage to move node pool management to resource |
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. |
Hi,
Currently I have live production GKE cluster, and I want to manage it with Terraform. Is there any way to separate nodepool resource management, so the
nodepool
block is not imported withingoogle_container_cluster
resource?Right now I have multiple
google_container_node_pool
resource from importing each nodepool, but multiplenodepool
blocks also exists ingoogle_container_cluster
resource. If I want to remove thosenodepool
blocks,google_container_cluster
must be force replaced .The text was updated successfully, but these errors were encountered: