From 34e60de367629d889d6fb2effb7e05d09156e470 Mon Sep 17 00:00:00 2001 From: The Magician Date: Wed, 14 Nov 2018 09:07:12 -0800 Subject: [PATCH] add warning about node pools defined in clusters. See TPG #1712. (#2474) --- 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 2f3644f6..ad02c955 100644 --- a/website/docs/r/container_cluster.html.markdown +++ b/website/docs/r/container_cluster.html.markdown @@ -167,6 +167,10 @@ to the datasource. A `region` can have a different set of supported versions tha * `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