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
| Name | Description | Type | Default | Required |
@@ -234,14 +259,14 @@ Available targets:
234
259
| attributes | Additional attributes (e.g. `1`) |`list(string)`|`[]`| no |
235
260
| before\_cluster\_joining\_userdata | Additional `bash` commands to execute on each worker node before joining the EKS cluster (before executing the `bootstrap.sh` script). For more info, see https://kubedex.com/90-days-of-aws-eks-in-production|`string`|`""`| no |
236
261
| bootstrap\_additional\_options | Additional options to bootstrap.sh. DO NOT include `--kubelet-additional-args`, use `kubelet_additional_args` var instead. |`string`|`""`| no |
237
-
| capacity\_type | Type of capacity associated with the EKS Node Group. Valid values: ON\_DEMAND, SPOT. <br>Terraform will only perform drift detection if a configuration value is provided. |`string`|`"ON_DEMAND"`| no |
262
+
| capacity\_type | Type of capacity associated with the EKS Node Group. Valid values: "ON\_DEMAND", "SPOT", or `null`.<br>Terraform will only perform drift detection if a configuration value is provided. |`string`|`null`| no |
238
263
| cluster\_autoscaler\_enabled | Set true to label the node group so that the [Kubernetes Cluster Autoscaler](https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/cloudprovider/aws/README.md#auto-discovery-setup) will discover and autoscale it |`bool`|`null`| no |
239
264
| cluster\_name | The name of the EKS cluster |`string`| n/a | yes |
240
265
| context | Single object for setting entire context at once.<br>See description of individual variables for details.<br>Leave string and numeric variables as `null` to use default value.<br>Individual variable settings (non-null) override settings in context object,<br>except for attributes, tags, and additional\_tag\_map, which are merged. |`any`| <pre>{<br> "additional_tag_map": {},<br> "attributes": [],<br> "delimiter": null,<br> "enabled": true,<br> "environment": null,<br> "id_length_limit": null,<br> "label_key_case": null,<br> "label_order": [],<br> "label_value_case": null,<br> "name": null,<br> "namespace": null,<br> "regex_replace_chars": null,<br> "stage": null,<br> "tags": {}<br>}</pre> | no |
241
266
| create\_before\_destroy | Set true in order to create the new node group before destroying the old one.<br>If false, the old node group will be destroyed first, causing downtime.<br>Changing this setting will always cause node group to be replaced. |`bool`|`false`| no |
242
267
| delimiter | Delimiter to be used between `namespace`, `environment`, `stage`, `name` and `attributes`.<br>Defaults to `-` (hyphen). Set to `""` to use no delimiter at all. |`string`|`null`| no |
243
268
| desired\_size | Initial desired number of worker nodes (external changes ignored) |`number`| n/a | yes |
244
-
| disk\_size | Disk size in GiB for worker nodes. Defaults to 20. Ignored it`launch_template_id` is supplied.<br>Terraform will only perform drift detection if a configuration value is provided. |`number`|`20`| no |
269
+
| disk\_size | Disk size in GiB for worker nodes. Defaults to 20. Ignored when`launch_template_id` is supplied.<br>Terraform will only perform drift detection if a configuration value is provided. |`number`|`20`| no |
245
270
| disk\_type | If provided, will be used as volume type of created ebs disk on EC2 instances |`string`|`null`| no |
246
271
| ec2\_ssh\_key | SSH key pair name to use to access the worker nodes |`string`|`null`| no |
247
272
| enable\_cluster\_autoscaler | (Deprecated, use `cluster_autoscaler_enabled`) Set true to allow Kubernetes Cluster Auto Scaler to scale the node group |`bool`|`null`| no |
@@ -250,7 +275,7 @@ Available targets:
250
275
| existing\_workers\_role\_policy\_arns | List of existing policy ARNs that will be attached to the workers default role on creation |`list(string)`|`[]`| no |
251
276
| existing\_workers\_role\_policy\_arns\_count | Obsolete and ignored. Allowed for backward compatibility. |`number`|`0`| no |
252
277
| id\_length\_limit | Limit `id` to this many characters (minimum 6).<br>Set to `0` for unlimited length.<br>Set to `null` for default, which is `0`.<br>Does not affect `id_full`. |`number`|`null`| no |
253
-
| instance\_types |Single instance type to use for this node group, passed as a list. Defaults to ["t3.medium"].<br>It is a list because Launch Templates take a list, and it is a single type because EKS only supports a single type per node group. |`list(string)`| <pre>[<br> "t3.medium"<br>]</pre> | no |
278
+
| instance\_types |Instance types to use for this node group (up to 20). Defaults to ["t3.medium"].<br>Ignored when `launch_template_id`is supplied. |`list(string)`| <pre>[<br> "t3.medium"<br>]</pre> | no |
254
279
| kubelet\_additional\_options | Additional flags to pass to kubelet.<br>DO NOT include `--node-labels` or `--node-taints`,<br>use `kubernetes_labels` and `kubernetes_taints` to specify those." |`string`|`""`| no |
255
280
| kubernetes\_labels | Key-value mapping of Kubernetes labels. Only labels that are applied with the EKS API are managed by this argument.<br>Other Kubernetes labels applied to the EKS Node Group will not be managed. |`map(string)`|`{}`| no |
256
281
| kubernetes\_taints | Key-value mapping of Kubernetes taints. |`map(string)`|`{}`| no |
@@ -288,7 +313,6 @@ Available targets:
288
313
| eks\_node\_group\_role\_arn | ARN of the worker nodes IAM role |
289
314
| eks\_node\_group\_role\_name | Name of the worker nodes IAM role |
290
315
| eks\_node\_group\_status | Status of the EKS Node Group |
| Name | Description | Type | Default | Required |
@@ -28,14 +53,14 @@
28
53
| attributes | Additional attributes (e.g. `1`) |`list(string)`|`[]`| no |
29
54
| before\_cluster\_joining\_userdata | Additional `bash` commands to execute on each worker node before joining the EKS cluster (before executing the `bootstrap.sh` script). For more info, see https://kubedex.com/90-days-of-aws-eks-in-production|`string`|`""`| no |
30
55
| bootstrap\_additional\_options | Additional options to bootstrap.sh. DO NOT include `--kubelet-additional-args`, use `kubelet_additional_args` var instead. |`string`|`""`| no |
31
-
| capacity\_type | Type of capacity associated with the EKS Node Group. Valid values: ON\_DEMAND, SPOT. <br>Terraform will only perform drift detection if a configuration value is provided. |`string`|`"ON_DEMAND"`| no |
56
+
| capacity\_type | Type of capacity associated with the EKS Node Group. Valid values: "ON\_DEMAND", "SPOT", or `null`.<br>Terraform will only perform drift detection if a configuration value is provided. |`string`|`null`| no |
32
57
| cluster\_autoscaler\_enabled | Set true to label the node group so that the [Kubernetes Cluster Autoscaler](https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/cloudprovider/aws/README.md#auto-discovery-setup) will discover and autoscale it |`bool`|`null`| no |
33
58
| cluster\_name | The name of the EKS cluster |`string`| n/a | yes |
34
59
| context | Single object for setting entire context at once.<br>See description of individual variables for details.<br>Leave string and numeric variables as `null` to use default value.<br>Individual variable settings (non-null) override settings in context object,<br>except for attributes, tags, and additional\_tag\_map, which are merged. |`any`| <pre>{<br> "additional_tag_map": {},<br> "attributes": [],<br> "delimiter": null,<br> "enabled": true,<br> "environment": null,<br> "id_length_limit": null,<br> "label_key_case": null,<br> "label_order": [],<br> "label_value_case": null,<br> "name": null,<br> "namespace": null,<br> "regex_replace_chars": null,<br> "stage": null,<br> "tags": {}<br>}</pre> | no |
35
60
| create\_before\_destroy | Set true in order to create the new node group before destroying the old one.<br>If false, the old node group will be destroyed first, causing downtime.<br>Changing this setting will always cause node group to be replaced. |`bool`|`false`| no |
36
61
| delimiter | Delimiter to be used between `namespace`, `environment`, `stage`, `name` and `attributes`.<br>Defaults to `-` (hyphen). Set to `""` to use no delimiter at all. |`string`|`null`| no |
37
62
| desired\_size | Initial desired number of worker nodes (external changes ignored) |`number`| n/a | yes |
38
-
| disk\_size | Disk size in GiB for worker nodes. Defaults to 20. Ignored it`launch_template_id` is supplied.<br>Terraform will only perform drift detection if a configuration value is provided. |`number`|`20`| no |
63
+
| disk\_size | Disk size in GiB for worker nodes. Defaults to 20. Ignored when`launch_template_id` is supplied.<br>Terraform will only perform drift detection if a configuration value is provided. |`number`|`20`| no |
39
64
| disk\_type | If provided, will be used as volume type of created ebs disk on EC2 instances |`string`|`null`| no |
40
65
| ec2\_ssh\_key | SSH key pair name to use to access the worker nodes |`string`|`null`| no |
41
66
| enable\_cluster\_autoscaler | (Deprecated, use `cluster_autoscaler_enabled`) Set true to allow Kubernetes Cluster Auto Scaler to scale the node group |`bool`|`null`| no |
@@ -44,7 +69,7 @@
44
69
| existing\_workers\_role\_policy\_arns | List of existing policy ARNs that will be attached to the workers default role on creation |`list(string)`|`[]`| no |
45
70
| existing\_workers\_role\_policy\_arns\_count | Obsolete and ignored. Allowed for backward compatibility. |`number`|`0`| no |
46
71
| id\_length\_limit | Limit `id` to this many characters (minimum 6).<br>Set to `0` for unlimited length.<br>Set to `null` for default, which is `0`.<br>Does not affect `id_full`. |`number`|`null`| no |
47
-
| instance\_types |Single instance type to use for this node group, passed as a list. Defaults to ["t3.medium"].<br>It is a list because Launch Templates take a list, and it is a single type because EKS only supports a single type per node group. |`list(string)`| <pre>[<br> "t3.medium"<br>]</pre> | no |
72
+
| instance\_types |Instance types to use for this node group (up to 20). Defaults to ["t3.medium"].<br>Ignored when `launch_template_id`is supplied. |`list(string)`| <pre>[<br> "t3.medium"<br>]</pre> | no |
48
73
| kubelet\_additional\_options | Additional flags to pass to kubelet.<br>DO NOT include `--node-labels` or `--node-taints`,<br>use `kubernetes_labels` and `kubernetes_taints` to specify those." |`string`|`""`| no |
49
74
| kubernetes\_labels | Key-value mapping of Kubernetes labels. Only labels that are applied with the EKS API are managed by this argument.<br>Other Kubernetes labels applied to the EKS Node Group will not be managed. |`map(string)`|`{}`| no |
50
75
| kubernetes\_taints | Key-value mapping of Kubernetes taints. |`map(string)`|`{}`| no |
@@ -82,5 +107,4 @@
82
107
| eks\_node\_group\_role\_arn | ARN of the worker nodes IAM role |
83
108
| eks\_node\_group\_role\_name | Name of the worker nodes IAM role |
84
109
| eks\_node\_group\_status | Status of the EKS Node Group |
0 commit comments