File tree 2 files changed +8
-8
lines changed
2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -86,11 +86,10 @@ var schemaNodePool = map[string]*schema.Schema{
86
86
},
87
87
88
88
"initial_node_count" : & schema.Schema {
89
- Type : schema .TypeInt ,
90
- Optional : true ,
91
- ForceNew : true ,
92
- Computed : true ,
93
- Deprecated : "Use node_count instead" ,
89
+ Type : schema .TypeInt ,
90
+ Optional : true ,
91
+ ForceNew : true ,
92
+ Computed : true ,
94
93
},
95
94
96
95
"management" : {
Original file line number Diff line number Diff line change @@ -100,8 +100,8 @@ resource "google_container_cluster" "primary" {
100
100
* ` autoscaling ` - (Optional) Configuration required by cluster autoscaler to adjust
101
101
the size of the node pool to the current cluster usage. Structure is documented below.
102
102
103
- * ` initial_node_count ` - (Deprecated, Optional) The initial node count for the pool.
104
- Use ` node_count ` instead .
103
+ * ` initial_node_count ` - (Optional) The initial node count for the pool. Changing this will force
104
+ recreation of the resource .
105
105
106
106
* ` management ` - (Optional) Node management configuration, wherein auto-repair and
107
107
auto-upgrade is configured. Structure is documented below.
@@ -115,7 +115,8 @@ resource "google_container_cluster" "primary" {
115
115
* ` node_config ` - (Optional) The node configuration of the pool. See
116
116
[ google_container_cluster] ( container_cluster.html ) for schema.
117
117
118
- * ` node_count ` - (Optional) The number of nodes per instance group.
118
+ * ` node_count ` - (Optional) The number of nodes per instance group. This field can be used to
119
+ update the number of nodes per instance group but should not be used alongside ` autoscaling ` .
119
120
120
121
* ` project ` - (Optional) The ID of the project in which to create the node pool. If blank,
121
122
the provider-configured project will be used.
You can’t perform that action at this time.
0 commit comments