mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-10-04 17:51:11 +00:00
revive initial_node_count (#1176)
This commit is contained in:
parent
8fcaa509cb
commit
fd0819786b
@ -86,11 +86,10 @@ var schemaNodePool = map[string]*schema.Schema{
|
|||||||
},
|
},
|
||||||
|
|
||||||
"initial_node_count": &schema.Schema{
|
"initial_node_count": &schema.Schema{
|
||||||
Type: schema.TypeInt,
|
Type: schema.TypeInt,
|
||||||
Optional: true,
|
Optional: true,
|
||||||
ForceNew: true,
|
ForceNew: true,
|
||||||
Computed: true,
|
Computed: true,
|
||||||
Deprecated: "Use node_count instead",
|
|
||||||
},
|
},
|
||||||
|
|
||||||
"management": {
|
"management": {
|
||||||
|
@ -100,8 +100,8 @@ resource "google_container_cluster" "primary" {
|
|||||||
* `autoscaling` - (Optional) Configuration required by cluster autoscaler to adjust
|
* `autoscaling` - (Optional) Configuration required by cluster autoscaler to adjust
|
||||||
the size of the node pool to the current cluster usage. Structure is documented below.
|
the size of the node pool to the current cluster usage. Structure is documented below.
|
||||||
|
|
||||||
* `initial_node_count` - (Deprecated, Optional) The initial node count for the pool.
|
* `initial_node_count` - (Optional) The initial node count for the pool. Changing this will force
|
||||||
Use `node_count` instead.
|
recreation of the resource.
|
||||||
|
|
||||||
* `management` - (Optional) Node management configuration, wherein auto-repair and
|
* `management` - (Optional) Node management configuration, wherein auto-repair and
|
||||||
auto-upgrade is configured. Structure is documented below.
|
auto-upgrade is configured. Structure is documented below.
|
||||||
@ -115,7 +115,8 @@ resource "google_container_cluster" "primary" {
|
|||||||
* `node_config` - (Optional) The node configuration of the pool. See
|
* `node_config` - (Optional) The node configuration of the pool. See
|
||||||
[google_container_cluster](container_cluster.html) for schema.
|
[google_container_cluster](container_cluster.html) for schema.
|
||||||
|
|
||||||
* `node_count` - (Optional) The number of nodes per instance group.
|
* `node_count` - (Optional) The number of nodes per instance group. This field can be used to
|
||||||
|
update the number of nodes per instance group but should not be used alongside `autoscaling`.
|
||||||
|
|
||||||
* `project` - (Optional) The ID of the project in which to create the node pool. If blank,
|
* `project` - (Optional) The ID of the project in which to create the node pool. If blank,
|
||||||
the provider-configured project will be used.
|
the provider-configured project will be used.
|
||||||
|
Loading…
Reference in New Issue
Block a user