From 16e076652c3c7bc142f2a54420fb6d161d05d87d Mon Sep 17 00:00:00 2001 From: Dana Hoffman Date: Wed, 14 Nov 2018 12:07:19 -0500 Subject: [PATCH] Merge pull request #135 from modular-magician/codegen-pr-913 add warning about node pools defined in clusters. See TPG #1712. --- website/docs/r/container_cluster.html.markdown | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/website/docs/r/container_cluster.html.markdown b/website/docs/r/container_cluster.html.markdown index bbe940fccd7..bdaa3d52231 100644 --- a/website/docs/r/container_cluster.html.markdown +++ b/website/docs/r/container_cluster.html.markdown @@ -170,6 +170,10 @@ output "cluster_ca_certificate" { * `node_pool` - (Optional) List of node pools associated with this cluster. See [google_container_node_pool](container_node_pool.html) for schema. + **Warning:** node pools defined inside a cluster can't be changed (or added/removed) after + cluster creation without deleting and recreating the entire cluster. Unless you absolutely need the ability + to say "these are the _only_ node pools associated with this cluster", use the + [google_container_node_pool](container_node_pool.html) resource instead of this property. * `node_version` - (Optional) The Kubernetes version on the nodes. Must either be unset or set to the same value as `min_master_version` on create. Defaults to the default