Skip to content

Commit

Permalink
Add warning about initial_node_count (#3851) (#6988)
Browse files Browse the repository at this point in the history
Upstreamed this change from #6896

Signed-off-by: Modular Magician <magic-modules@google.com>
  • Loading branch information
modular-magician authored Aug 10, 2020
1 parent c8e63e0 commit 3651f6d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .changelog/3851.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
```release-note:none
```
11 changes: 6 additions & 5 deletions website/docs/r/container_node_pool.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,12 @@ resource "google_container_cluster" "primary" {
the size of the node pool to the current cluster usage. Structure is documented below.

* `initial_node_count` - (Optional) The initial number of nodes for the pool. In
regional or multi-zonal clusters, this is the number of nodes per zone. Changing
this will force recreation of the resource. WARNING: Resizing your node pool manually
may change this value in your existing cluster, which will trigger destruction
and recreation on the next run (to rectify the discrepancy). If you don't need this
value, don't set it (or set it and then remove it).
regional or multi-zonal clusters, this is the number of nodes per zone. Changing
this will force recreation of the resource. WARNING: Resizing your node pool manually
may change this value in your existing cluster, which will trigger destruction
and recreation on the next Terraform run (to rectify the discrepancy). If you don't
need this value, don't set it. If you do need it, you can [use a lifecycle block to
ignore subsqeuent changes to this field](https://github.com/hashicorp/terraform-provider-google/issues/6901#issuecomment-667369691).

* `management` - (Optional) Node management configuration, wherein auto-repair and
auto-upgrade is configured. Structure is documented below.
Expand Down

0 comments on commit 3651f6d

Please sign in to comment.