File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 1+ ```release-note:none
2+ ```
Original file line number Diff line number Diff line change @@ -113,8 +113,12 @@ resource "google_container_cluster" "primary" {
113113 the size of the node pool to the current cluster usage. Structure is documented below.
114114
115115* ` initial_node_count ` - (Optional) The initial number of nodes for the pool. In
116- regional or multi-zonal clusters, this is the number of nodes per zone. Changing
117- this will force recreation of the resource.
116+ regional or multi-zonal clusters, this is the number of nodes per zone. Changing
117+ this will force recreation of the resource. WARNING: Resizing your node pool manually
118+ may change this value in your existing cluster, which will trigger destruction
119+ and recreation on the next Terraform run (to rectify the discrepancy). If you don't
120+ need this value, don't set it. If you do need it, you can [ use a lifecycle block to
121+ ignore subsqeuent changes to this field] ( https://github.com/hashicorp/terraform-provider-google/issues/6901#issuecomment-667369691 ) .
118122
119123* ` management ` - (Optional) Node management configuration, wherein auto-repair and
120124 auto-upgrade is configured. Structure is documented below.
You can’t perform that action at this time.
0 commit comments