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
* feat: adding support for adding ssh key pairs to the worker nodes
* fix: added ami_release_version to the nodepool definition
* terraform-docs: automated action
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
| <a name="input_csi_driver_version"></a> [csi\_driver\_version](#input\_csi\_driver\_version) | You should grab the appropriate version number from: https://github.com/kubernetes-sigs/aws-ebs-csi-driver/blob/master/CHANGELOG.md | `string` | `"v1.20.0-eksbuild.1"` | no |
147
148
| <a name="input_eks_version"></a> [eks\_version](#input\_eks\_version) | The version of EKS to deploy | `string` | `"1.27"` | no |
148
149
| <a name="input_iam_role_to_assume"></a> [iam\_role\_to\_assume](#input\_iam\_role\_to\_assume) | The full ARN of the IAM role to assume | `string` | n/a | yes |
149
-
| <a name="input_node_pools"></a> [node\_pools](#input\_node\_pools) | node pool configurations:<br> - name (string): Name of the node pool. MUST BE UNIQUE! Recommended to use YYYYMMDD in the name<br> - node\_count (number): number of nodes to create in the node pool.<br> - instance\_type (string): Instance type to use for the nodes. ref: https://instances.vantage.sh/<br> - ami\_image\_id (string): AMI to use for EKS worker nodes. ref: https://github.com/awslabs/amazon-eks-ami/releases<br> - spot (bool): Enable spot instances for the nodes. DO NOT ENABLE IN PROD!<br> - disk\_size\_gb (number): Disk size in GB for the nodes.<br> - max\_pods (number): max pods that can be scheduled per node. | <pre>list(object({<br> name = string<br> node_count = number<br> instance_type = string<br> ami_image_id = string<br> spot = bool<br> disk_size_gb = number<br> max_pods = number<br> }))</pre> | <pre>[<br> {<br> "ami_image_id": "amazon-eks-node-1.27-v20230607",<br> "disk_size_gb": 20,<br> "instance_type": "t3a.large",<br> "max_pods": 110,<br> "name": "default-pool",<br> "node_count": 1,<br> "spot": false<br> }<br>]</pre> | no |
150
+
| <a name="input_node_pools"></a> [node\_pools](#input\_node\_pools) | node pool configurations:<br> - name (string): Name of the node pool. MUST BE UNIQUE! Recommended to use YYYYMMDD in the name<br> - node\_count (number): number of nodes to create in the node pool.<br> - instance\_type (string): Instance type to use for the nodes. ref: https://instances.vantage.sh/<br> - ami\_release\_version (string): AMI release version to use for EKS worker nodes. ref: https://github.com/awslabs/amazon-eks-ami/releases<br> - spot (bool): Enable spot instances for the nodes. DO NOT ENABLE IN PROD!<br> - disk\_size\_gb (number): Disk size in GB for the nodes.<br> - max\_pods (number): max pods that can be scheduled per node.<br> - ssh\_key\_pair\_names (list(string)): List of SSH key pair names to associate with the nodes. ref: https://us-west-2.console.aws.amazon.com/ec2/home?region=us-west-2#KeyPairs: | <pre>list(object({<br> name = string<br> node_count = number<br> instance_type = string<br> ami_release_version = string<br> spot = bool<br> disk_size_gb = number<br> max_pods = number<br> ssh_key_pair_names = list(string)<br> }))</pre> | <pre>[<br> {<br> "ami_release_version": "1.27.1-20230703",<br> "disk_size_gb": 20,<br> "instance_type": "t3a.large",<br> "max_pods": 110,<br> "name": "default-pool",<br> "node_count": 1,<br> "spot": false,<br> "ssh_key_pair_names": []<br> }<br>]</pre> | no |
150
151
| <a name="input_peering_configs"></a> [peering\_configs](#input\_peering\_configs) | A list of maps containing VPC peering configuration details | <pre>list(object({<br> vpc_peering_connection_id = string<br> destination_cidr_block = string<br> }))</pre> | `[]` | no |
151
152
| <a name="input_region"></a> [region](#input\_region) | The AWS region to deploy into | `string` | n/a | yes |
152
153
| <a name="input_vpc_cidr_block"></a> [vpc\_cidr\_block](#input\_vpc\_cidr\_block) | The CIDR block for the VPC | `string` | `"10.65.0.0/26"` | no |
Copy file name to clipboardExpand all lines: variables.tf
+18-15Lines changed: 18 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -30,32 +30,35 @@ variable "eks_version" {
30
30
31
31
variable"node_pools" {
32
32
type=list(object({
33
-
name =string
34
-
node_count =number
35
-
instance_type =string
36
-
ami_image_id =string
37
-
spot =bool
38
-
disk_size_gb =number
39
-
max_pods =number
33
+
name =string
34
+
node_count =number
35
+
instance_type =string
36
+
ami_release_version =string
37
+
spot =bool
38
+
disk_size_gb =number
39
+
max_pods =number
40
+
ssh_key_pair_names =list(string)
40
41
}))
41
42
default=[{
42
-
name ="default-pool"
43
-
node_count =1
44
-
instance_type ="t3a.large"
45
-
ami_image_id ="amazon-eks-node-1.27-v20230607"
46
-
spot =false
47
-
disk_size_gb =20
48
-
max_pods =110
43
+
name ="default-pool"
44
+
node_count =1
45
+
instance_type ="t3a.large"
46
+
ami_release_version ="1.27.1-20230703"
47
+
spot =false
48
+
disk_size_gb =20
49
+
max_pods =110
50
+
ssh_key_pair_names = []
49
51
}]
50
52
description=<<-DESC
51
53
node pool configurations:
52
54
- name (string): Name of the node pool. MUST BE UNIQUE! Recommended to use YYYYMMDD in the name
53
55
- node_count (number): number of nodes to create in the node pool.
54
56
- instance_type (string): Instance type to use for the nodes. ref: https://instances.vantage.sh/
55
-
- ami_image_id (string): AMI to use for EKS worker nodes. ref: https://github.com/awslabs/amazon-eks-ami/releases
57
+
- ami_release_version (string): AMI release version to use for EKS worker nodes. ref: https://github.com/awslabs/amazon-eks-ami/releases
56
58
- spot (bool): Enable spot instances for the nodes. DO NOT ENABLE IN PROD!
57
59
- disk_size_gb (number): Disk size in GB for the nodes.
58
60
- max_pods (number): max pods that can be scheduled per node.
61
+
- ssh_key_pair_names (list(string)): List of SSH key pair names to associate with the nodes. ref: https://us-west-2.console.aws.amazon.com/ec2/home?region=us-west-2#KeyPairs:
0 commit comments