You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`node_pool` variables are a mix of string, bool, number
therefore, it is better to use `map(any)` to indicate its type
moreover, the use of `list(map(string))` is breaking
the use of this module in `cdktf`.
in the generated code it will produce
`[]map[string]string` for `node_pools` option
but we want `[]map[string]interface{}` in order to pass correct value,
e.g. `initial_node_count` is a `number` not `string`
Co-authored-by: Bharath KKB <[email protected]>
Copy file name to clipboardExpand all lines: modules/beta-private-cluster-update-variant/README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -234,7 +234,7 @@ Then perform the following commands on the root folder:
234
234
| network\_policy\_provider | The network policy provider. |`string`|`"CALICO"`| no |
235
235
| network\_project\_id | The project ID of the shared VPC's host (for shared vpc support) |`string`|`""`| no |
236
236
| node\_metadata | Specifies how node metadata is exposed to the workload running on the node |`string`|`"GKE_METADATA"`| no |
237
-
| node\_pools | List of maps containing node pools |`list(map(string))`| <pre>[<br> {<br> "name": "default-node-pool"<br> }<br>]</pre> | no |
237
+
| node\_pools | List of maps containing node pools |`list(map(any))`| <pre>[<br> {<br> "name": "default-node-pool"<br> }<br>]</pre> | no |
238
238
| node\_pools\_labels | Map of maps containing node labels by node-pool name |`map(map(string))`| <pre>{<br> "all": {},<br> "default-node-pool": {}<br>}</pre> | no |
239
239
| node\_pools\_linux\_node\_configs\_sysctls | Map of maps containing linux node config sysctls by node-pool name |`map(map(string))`| <pre>{<br> "all": {},<br> "default-node-pool": {}<br>}</pre> | no |
240
240
| node\_pools\_metadata | Map of maps containing node metadata by node-pool name |`map(map(string))`| <pre>{<br> "all": {},<br> "default-node-pool": {}<br>}</pre> | no |
Copy file name to clipboardExpand all lines: modules/beta-private-cluster/README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -212,7 +212,7 @@ Then perform the following commands on the root folder:
212
212
| network\_policy\_provider | The network policy provider. |`string`|`"CALICO"`| no |
213
213
| network\_project\_id | The project ID of the shared VPC's host (for shared vpc support) |`string`|`""`| no |
214
214
| node\_metadata | Specifies how node metadata is exposed to the workload running on the node |`string`|`"GKE_METADATA"`| no |
215
-
| node\_pools | List of maps containing node pools |`list(map(string))`| <pre>[<br> {<br> "name": "default-node-pool"<br> }<br>]</pre> | no |
215
+
| node\_pools | List of maps containing node pools |`list(map(any))`| <pre>[<br> {<br> "name": "default-node-pool"<br> }<br>]</pre> | no |
216
216
| node\_pools\_labels | Map of maps containing node labels by node-pool name |`map(map(string))`| <pre>{<br> "all": {},<br> "default-node-pool": {}<br>}</pre> | no |
217
217
| node\_pools\_linux\_node\_configs\_sysctls | Map of maps containing linux node config sysctls by node-pool name |`map(map(string))`| <pre>{<br> "all": {},<br> "default-node-pool": {}<br>}</pre> | no |
218
218
| node\_pools\_metadata | Map of maps containing node metadata by node-pool name |`map(map(string))`| <pre>{<br> "all": {},<br> "default-node-pool": {}<br>}</pre> | no |
Copy file name to clipboardExpand all lines: modules/beta-public-cluster-update-variant/README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -223,7 +223,7 @@ Then perform the following commands on the root folder:
223
223
| network\_policy\_provider | The network policy provider. |`string`|`"CALICO"`| no |
224
224
| network\_project\_id | The project ID of the shared VPC's host (for shared vpc support) |`string`|`""`| no |
225
225
| node\_metadata | Specifies how node metadata is exposed to the workload running on the node |`string`|`"GKE_METADATA"`| no |
226
-
| node\_pools | List of maps containing node pools |`list(map(string))`| <pre>[<br> {<br> "name": "default-node-pool"<br> }<br>]</pre> | no |
226
+
| node\_pools | List of maps containing node pools |`list(map(any))`| <pre>[<br> {<br> "name": "default-node-pool"<br> }<br>]</pre> | no |
227
227
| node\_pools\_labels | Map of maps containing node labels by node-pool name |`map(map(string))`| <pre>{<br> "all": {},<br> "default-node-pool": {}<br>}</pre> | no |
228
228
| node\_pools\_linux\_node\_configs\_sysctls | Map of maps containing linux node config sysctls by node-pool name |`map(map(string))`| <pre>{<br> "all": {},<br> "default-node-pool": {}<br>}</pre> | no |
229
229
| node\_pools\_metadata | Map of maps containing node metadata by node-pool name |`map(map(string))`| <pre>{<br> "all": {},<br> "default-node-pool": {}<br>}</pre> | no |
Copy file name to clipboardExpand all lines: modules/beta-public-cluster/README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -201,7 +201,7 @@ Then perform the following commands on the root folder:
201
201
| network\_policy\_provider | The network policy provider. |`string`|`"CALICO"`| no |
202
202
| network\_project\_id | The project ID of the shared VPC's host (for shared vpc support) |`string`|`""`| no |
203
203
| node\_metadata | Specifies how node metadata is exposed to the workload running on the node |`string`|`"GKE_METADATA"`| no |
204
-
| node\_pools | List of maps containing node pools |`list(map(string))`| <pre>[<br> {<br> "name": "default-node-pool"<br> }<br>]</pre> | no |
204
+
| node\_pools | List of maps containing node pools |`list(map(any))`| <pre>[<br> {<br> "name": "default-node-pool"<br> }<br>]</pre> | no |
205
205
| node\_pools\_labels | Map of maps containing node labels by node-pool name |`map(map(string))`| <pre>{<br> "all": {},<br> "default-node-pool": {}<br>}</pre> | no |
206
206
| node\_pools\_linux\_node\_configs\_sysctls | Map of maps containing linux node config sysctls by node-pool name |`map(map(string))`| <pre>{<br> "all": {},<br> "default-node-pool": {}<br>}</pre> | no |
207
207
| node\_pools\_metadata | Map of maps containing node metadata by node-pool name |`map(map(string))`| <pre>{<br> "all": {},<br> "default-node-pool": {}<br>}</pre> | no |
0 commit comments