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
| <aname="input_additional_tag_map"></a> [additional\_tag\_map](#input\_additional\_tag\_map)| Additional key-value pairs to add to each map in `tags_as_list_of_maps`. Not added to `tags` or `id`.<br>This is for some rare cases where resources want additional configuration of tags<br>and therefore take a list of maps with tag key, value, and additional configuration. |`map(string)`|`{}`| no |
295
293
| <aname="input_after_cluster_joining_userdata"></a> [after\_cluster\_joining\_userdata](#input\_after\_cluster\_joining\_userdata)| Additional `bash` commands to execute on each worker node after joining the EKS cluster (after executing the `bootstrap.sh` script). For more info, see https://kubedex.com/90-days-of-aws-eks-in-production|`list(string)`|`[]`| no |
296
294
| <aname="input_ami_image_id"></a> [ami\_image\_id](#input\_ami\_image\_id)| AMI to use. Ignored if `launch_template_id` is supplied. |`list(string)`|`[]`| no |
297
-
| <aname="input_ami_release_version"></a> [ami\_release\_version](#input\_ami\_release\_version)| EKS AMI version to use, e.g. "1.16.13-20200821" (no "v"). Defaults to latest version for Kubernetes version. |`list(string)`|`[]`| no |
298
-
| <aname="input_ami_type"></a> [ami\_type](#input\_ami\_type)| Type of Amazon Machine Image (AMI) associated with the EKS Node Group.<br>Defaults to `AL2_x86_64`. Valid values: `AL2_x86_64`, `AL2_x86_64_GPU`, and `AL2_ARM_64`. |`string`|`"AL2_x86_64"`| no |
295
+
| <aname="input_ami_release_version"></a> [ami\_release\_version](#input\_ami\_release\_version)| EKS AMI version to use, e.g. For AL2 "1.16.13-20200821" or for bottlerocket "1.2.0-ccf1b754" (no "v"). For AL2 and bottlerocket, it defaults to latest version for Kubernetes version. |`list(string)`|`[]`| no |
296
+
| <aname="input_ami_type"></a> [ami\_type](#input\_ami\_type)| Type of Amazon Machine Image (AMI) associated with the EKS Node Group.<br>Defaults to `AL2_x86_64`. Valid values: `AL2_x86_64`, `AL2_x86_64_GPU`, `AL2_ARM_64`, `BOTTLEROCKET_x86_64`, and `BOTTLEROCKET_ARM_64`. |`string`|`"AL2_x86_64"`| no |
299
297
| <aname="input_associated_security_group_ids"></a> [associated\_security\_group\_ids](#input\_associated\_security\_group\_ids)| A list of IDs of Security Groups to associate the node group with, in addition to the EKS' created security group.<br>These security groups will not be modified. |`list(string)`|`[]`| no |
300
298
| <aname="input_attributes"></a> [attributes](#input\_attributes)| ID element. Additional attributes (e.g. `workers` or `cluster`) to add to `id`,<br>in the order they appear in the list. New attributes are appended to the<br>end of the list. The elements of the list are joined by the `delimiter`<br>and treated as a single ID element. |`list(string)`|`[]`| no |
301
299
| <aname="input_before_cluster_joining_userdata"></a> [before\_cluster\_joining\_userdata](#input\_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|`list(string)`|`[]`| no |
| <aname="input_additional_tag_map"></a> [additional\_tag\_map](#input\_additional\_tag\_map)| Additional key-value pairs to add to each map in `tags_as_list_of_maps`. Not added to `tags` or `id`.<br>This is for some rare cases where resources want additional configuration of tags<br>and therefore take a list of maps with tag key, value, and additional configuration. |`map(string)`|`{}`| no |
51
49
| <aname="input_after_cluster_joining_userdata"></a> [after\_cluster\_joining\_userdata](#input\_after\_cluster\_joining\_userdata)| Additional `bash` commands to execute on each worker node after joining the EKS cluster (after executing the `bootstrap.sh` script). For more info, see https://kubedex.com/90-days-of-aws-eks-in-production|`list(string)`|`[]`| no |
52
50
| <aname="input_ami_image_id"></a> [ami\_image\_id](#input\_ami\_image\_id)| AMI to use. Ignored if `launch_template_id` is supplied. |`list(string)`|`[]`| no |
53
-
| <aname="input_ami_release_version"></a> [ami\_release\_version](#input\_ami\_release\_version)| EKS AMI version to use, e.g. "1.16.13-20200821" (no "v"). Defaults to latest version for Kubernetes version. |`list(string)`|`[]`| no |
54
-
| <aname="input_ami_type"></a> [ami\_type](#input\_ami\_type)| Type of Amazon Machine Image (AMI) associated with the EKS Node Group.<br>Defaults to `AL2_x86_64`. Valid values: `AL2_x86_64`, `AL2_x86_64_GPU`, and `AL2_ARM_64`. |`string`|`"AL2_x86_64"`| no |
51
+
| <aname="input_ami_release_version"></a> [ami\_release\_version](#input\_ami\_release\_version)| EKS AMI version to use, e.g. For AL2 "1.16.13-20200821" or for bottlerocket "1.2.0-ccf1b754" (no "v"). For AL2 and bottlerocket, it defaults to latest version for Kubernetes version. |`list(string)`|`[]`| no |
52
+
| <aname="input_ami_type"></a> [ami\_type](#input\_ami\_type)| Type of Amazon Machine Image (AMI) associated with the EKS Node Group.<br>Defaults to `AL2_x86_64`. Valid values: `AL2_x86_64`, `AL2_x86_64_GPU`, `AL2_ARM_64`, `BOTTLEROCKET_x86_64`, and `BOTTLEROCKET_ARM_64`. |`string`|`"AL2_x86_64"`| no |
55
53
| <aname="input_associated_security_group_ids"></a> [associated\_security\_group\_ids](#input\_associated\_security\_group\_ids)| A list of IDs of Security Groups to associate the node group with, in addition to the EKS' created security group.<br>These security groups will not be modified. |`list(string)`|`[]`| no |
56
54
| <aname="input_attributes"></a> [attributes](#input\_attributes)| ID element. Additional attributes (e.g. `workers` or `cluster`) to add to `id`,<br>in the order they appear in the list. New attributes are appended to the<br>end of the list. The elements of the list are joined by the `delimiter`<br>and treated as a single ID element. |`list(string)`|`[]`| no |
57
55
| <aname="input_before_cluster_joining_userdata"></a> [before\_cluster\_joining\_userdata](#input\_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|`list(string)`|`[]`| no |
error_message="Var ami_release_version, if supplied, must be like \"1.16.13-20200821\" (no \"v\")."
187
+
}
188
+
}
189
+
190
+
variable"after_cluster_joining_userdata" {
191
+
type=list(string)
192
+
default=[]
193
+
description="Additional `bash` commands to execute on each worker node after joining the EKS cluster (after executing the `bootstrap.sh` script). For more info, see https://kubedex.com/90-days-of-aws-eks-in-production"
194
+
validation {
195
+
condition=(
196
+
length(var.after_cluster_joining_userdata) <2
197
+
)
198
+
error_message="You may not specify more than one `after_cluster_joining_userdata`."
error_message="Var ami_type must be one of \"AL2_x86_64\", \"AL2_x86_64_GPU\", and \"AL2_ARM_64\"."
121
+
error_message="Var ami_type must be one of \"AL2_x86_64\", \"AL2_x86_64_GPU\", \"AL2_ARM_64\", \"BOTTLEROCKET_x86_64\", and \"BOTTLEROCKET_ARM_64\"."
123
122
}
124
123
}
125
124
@@ -232,12 +231,12 @@ variable "ami_image_id" {
232
231
variable"ami_release_version" {
233
232
type=list(string)
234
233
default=[]
235
-
description="EKS AMI version to use, e.g. \"1.16.13-20200821\" (no \"v\"). Defaults to latest version for Kubernetes version."
234
+
description="EKS AMI version to use, e.g. For AL2 \"1.16.13-20200821\"or for bottlerocket \"1.2.0-ccf1b754\"(no \"v\"). For AL2 and bottlerocket, it defaults to latest version for Kubernetes version."
0 commit comments