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
Copy file name to clipboardExpand all lines: README.md
+61-1Lines changed: 61 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,67 @@ module "eks-node-group" {
56
56
*[EKS Single Node Group with Launch Template](https://github.com/native-cube/terraform-aws-eks-node-group/tree/main/examples/single-node-group-with-launch-template)
57
57
58
58
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
| <aname="input_ami_release_version"></a> [ami\_release\_version](#input\_ami\_release\_version)| AMI version of the EKS Node Group. Defaults to latest version for Kubernetes version |`string`|`null`| no |
88
+
| <aname="input_ami_type"></a> [ami\_type](#input\_ami\_type)| Type of Amazon Machine Image (AMI) associated with the EKS Node Group. Valid values: AL2\_x86\_64 \| AL2\_x86\_64\_GPU \| AL2\_ARM\_64 \| CUSTOM \| BOTTLEROCKET\_ARM\_64 \| BOTTLEROCKET\_x86\_64. Terraform will only perform drift detection if a configuration value is provided. |`string`|`null`| no |
89
+
| <aname="input_capacity_type"></a> [capacity\_type](#input\_capacity\_type)| Type of capacity associated with the EKS Node Group. Defaults to ON\_DEMAND. Valid values: ON\_DEMAND, SPOT. |`string`|`"ON_DEMAND"`| no |
90
+
| <aname="input_cluster_name"></a> [cluster\_name](#input\_cluster\_name)| The name of the EKS cluster. |`string`| n/a | yes |
91
+
| <aname="input_create_iam_role"></a> [create\_iam\_role](#input\_create\_iam\_role)| Create IAM role for node group. Set to false if pass `node_role_arn` as an argument |`bool`|`true`| no |
92
+
| <aname="input_desired_size"></a> [desired\_size](#input\_desired\_size)| Desired number of worker nodes. |`number`| n/a | yes |
93
+
| <aname="input_disk_size"></a> [disk\_size](#input\_disk\_size)| Disk size in GiB for worker nodes. Defaults to 20. Terraform will only perform drift detection if a configuration value is provided. |`number`|`null`| no |
94
+
| <aname="input_ec2_ssh_key"></a> [ec2\_ssh\_key](#input\_ec2\_ssh\_key)| EC2 Key Pair name that provides access for SSH communication with the worker nodes in the EKS Node Group. If you specify this configuration, but do not specify source\_security\_group\_ids when you create an EKS Node Group, port 22 on the worker nodes is opened to the Internet (0.0.0.0/0). |`string`|`null`| no |
95
+
| <aname="input_enable_iam_role_ssm_policy"></a> [enable\_iam\_role\_ssm\_policy](#input\_enable\_iam\_role\_ssm\_policy)| Enable addition of managed policy called `AmazonSSMManagedInstanceCore` to enable SSM monitoring. |`bool`|`true`| no |
96
+
| <aname="input_force_update_version"></a> [force\_update\_version](#input\_force\_update\_version)| Force version update if existing pods are unable to be drained due to a pod disruption budget issue. |`bool`|`false`| no |
97
+
| <aname="input_instance_types"></a> [instance\_types](#input\_instance\_types)| List of instance types associated with the EKS Node Group. Terraform will only perform drift detection if a configuration value is provided |`list(string)`|`null`| no |
98
+
| <aname="input_kubernetes_version"></a> [kubernetes\_version](#input\_kubernetes\_version)| Kubernetes version. Defaults to EKS Cluster Kubernetes version. Terraform will only perform drift detection if a configuration value is provided |`string`|`null`| no |
99
+
| <aname="input_labels"></a> [labels](#input\_labels)| Key-value mapping of Kubernetes labels. Only labels that are applied with the EKS API are managed by this argument. Other Kubernetes labels applied to the EKS Node Group will not be managed |`map(string)`|`{}`| no |
100
+
| <aname="input_launch_template"></a> [launch\_template](#input\_launch\_template)| Configuration block with Launch Template settings. `name`, `id` and `version` parameters are available. |`map(string)`|`{}`| no |
101
+
| <aname="input_max_size"></a> [max\_size](#input\_max\_size)| Maximum number of worker nodes. |`number`| n/a | yes |
102
+
| <aname="input_min_size"></a> [min\_size](#input\_min\_size)| Minimum number of worker nodes. |`number`| n/a | yes |
103
+
| <aname="input_node_group_name"></a> [node\_group\_name](#input\_node\_group\_name)| The name of the cluster node group. Defaults to <cluster\_name>-<randomvalue> |`string`|`null`| no |
104
+
| <aname="input_node_group_name_prefix"></a> [node\_group\_name\_prefix](#input\_node\_group\_name\_prefix)| Creates a unique name beginning with the specified prefix. Conflicts with node\_group\_name |`string`|`null`| no |
105
+
| <aname="input_node_group_role_name"></a> [node\_group\_role\_name](#input\_node\_group\_role\_name)| The name of the cluster node group role. Defaults to <cluster\_name>-managed-group-node |`string`|`null`| no |
106
+
| <aname="input_node_role_arn"></a> [node\_role\_arn](#input\_node\_role\_arn)| IAM role arn that will be used by managed node group. |`string`|`null`| no |
107
+
| <aname="input_source_security_group_ids"></a> [source\_security\_group\_ids](#input\_source\_security\_group\_ids)| Set of EC2 Security Group IDs to allow SSH access (port 22) from on the worker nodes. If you specify ec2\_ssh\_key, but do not specify this configuration when you create an EKS Node Group, port 22 on the worker nodes is opened to the Internet (0.0.0.0/0) |`list(string)`|`null`| no |
108
+
| <aname="input_subnet_ids"></a> [subnet\_ids](#input\_subnet\_ids)| A list of subnet IDs to launch resources in. |`list(string)`| n/a | yes |
109
+
| <aname="input_tags"></a> [tags](#input\_tags)| A map of tags (key-value pairs) passed to resources. |`map(string)`|`{}`| no |
110
+
| <aname="input_taints"></a> [taints](#input\_taints)| List of objects containing Kubernetes taints which will be applied to the nodes in the node group. Maximum of 50 taints per node group. |`list(object({ key = string, value = any, effect = string }))`|`[]`| no |
111
+
| <aname="input_update_config"></a> [update\_config](#input\_update\_config)| Update config configuration block which is a key-value map. Accepted argmuents are `max_unavailable` and `max_unavailable_percentage`. |`map(any)`|`{}`| no |
112
+
113
+
## Outputs
114
+
115
+
| Name | Description |
116
+
|------|-------------|
117
+
| <aname="output_iam_role_arn"></a> [iam\_role\_arn](#output\_iam\_role\_arn)| IAM role ARN used by node group. |
118
+
| <aname="output_iam_role_id"></a> [iam\_role\_id](#output\_iam\_role\_id)| IAM role ID used by node group. |
119
+
| <aname="output_node_group"></a> [node\_group](#output\_node\_group)| Outputs from EKS node group. See `aws_eks_node_group` Terraform documentation for values |
0 commit comments