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
+46-32Lines changed: 46 additions & 32 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -165,7 +165,6 @@ For automated tests of the complete example using [bats](https://github.com/bats
165
165
name = var.name
166
166
attributes = var.attributes
167
167
tags = var.tags
168
-
vpc_id = module.vpc.vpc_id
169
168
subnet_ids = module.subnets.public_subnet_ids
170
169
instance_types = var.instance_types
171
170
desired_size = var.desired_size
@@ -191,45 +190,60 @@ Available targets:
191
190
lint Lint terraform code
192
191
193
192
```
193
+
## Requirements
194
+
195
+
| Name | Version |
196
+
|------|---------|
197
+
| terraform |~> 0.12.0 |
198
+
| aws |~> 2.0 |
199
+
| local |~> 1.3 |
200
+
| template |~> 2.0 |
201
+
202
+
## Providers
203
+
204
+
| Name | Version |
205
+
|------|---------|
206
+
| aws |~> 2.0 |
207
+
194
208
## Inputs
195
209
196
210
| Name | Description | Type | Default | Required |
197
-
|------|-------------|:----:|:-----:|:-----:|
198
-
|ami_release_version| AMI version of the EKS Node Group. Defaults to latest version for Kubernetes version | string |`null`| no |
199
-
|ami_type| Type of Amazon Machine Image (AMI) associated with the EKS Node Group. Defaults to `AL2_x86_64`. Valid values: `AL2_x86_64`, `AL2_x86_64_GPU`. Terraform will only perform drift detection if a configuration value is provided | string |`AL2_x86_64`| no |
|cluster_name| The name of the EKS cluster | string |-| yes |
202
-
| delimiter | Delimiter to be used between `namespace`, `stage`, `name` and `attributes`| string |`-`| no |
203
-
|desired_size| Desired number of worker nodes |number |-| yes |
204
-
|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 |`20`| no |
205
-
|ec2_ssh_key| SSH key name that should be used to access the worker nodes | string |`null`| no |
206
-
|enable_cluster_autoscaler| Whether to enable node group to scale the Auto Scaling Group | bool |`false`| no |
207
-
| enabled | Whether to create the resources. Set to `false` to prevent the module from creating any resources | bool |`true`| no |
208
-
|existing_workers_role_policy_arns| List of existing policy ARNs that will be attached to the workers default role on creation | list(string) |`<list>`| no |
209
-
|existing_workers_role_policy_arns_count| Count of existing policy ARNs that will be attached to the workers default role on creation. Needed to prevent Terraform error `count can't be computed`| number |`0`| no |
210
-
|instance_types| Set of instance types associated with the EKS Node Group. Defaults to ["t3.medium"]. Terraform will only perform drift detection if a configuration value is provided | list(string) |-| yes |
211
-
|kubernetes_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) |`<map>`| no |
212
-
|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 |
213
-
|max_size| Maximum number of worker nodes | number |-| yes |
214
-
|min_size| Minimum number of worker nodes | number |-| yes |
215
-
|module_depends_on| Can be any value desired. Module will wait for this value to be computed before creating node group. | any |`null`| no |
216
-
| name | Solution name, e.g. 'app' or 'cluster' | string |-| yes |
217
-
| namespace | Namespace, which could be your organization name, e.g. 'eg' or 'cp' | string | `` | no |
218
-
|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) |`<list>`| no |
219
-
| stage | Stage, e.g. 'prod', 'staging', 'dev', or 'test' | string | `` | no |
220
-
|subnet_ids| A list of subnet IDs to launch resources in | list(string) |-| yes |
|ami\_release\_version| AMI version of the EKS Node Group. Defaults to latest version for Kubernetes version |`string`|`null`| no |
213
+
|ami\_type| Type of Amazon Machine Image (AMI) associated with the EKS Node Group. Defaults to `AL2_x86_64`. Valid values: `AL2_x86_64`, `AL2_x86_64_GPU`. Terraform will only perform drift detection if a configuration value is provided |`string`|`"AL2_x86_64"`| no |
214
+
| attributes | Additional attributes (e.g. `1`) |`list(string)`|`[]`| no |
215
+
|cluster\_name| The name of the EKS cluster |`string`|n/a| yes |
216
+
| delimiter | Delimiter to be used between `namespace`, `stage`, `name` and `attributes`|`string`|`"-"`| no |
217
+
|desired\_size| Desired number of worker nodes (external changes ignored) |`number`|n/a| yes |
218
+
|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`|`20`| no |
219
+
|ec2\_ssh\_key| SSH key name that should be used to access the worker nodes |`string`|`null`| no |
220
+
|enable\_cluster\_autoscaler| Whether to enable node group to scale the Auto Scaling Group |`bool`|`false`| no |
221
+
| enabled | Whether to create the resources. Set to `false` to prevent the module from creating any resources |`bool`|`true`| no |
222
+
|existing\_workers\_role\_policy\_arns| List of existing policy ARNs that will be attached to the workers default role on creation |`list(string)`|`[]`| no |
223
+
|existing\_workers\_role\_policy\_arns\_count| Count of existing policy ARNs that will be attached to the workers default role on creation. Needed to prevent Terraform error `count can't be computed`|`number`|`0`| no |
224
+
|instance\_types| Set of instance types associated with the EKS Node Group. Defaults to ["t3.medium"]. Terraform will only perform drift detection if a configuration value is provided |`list(string)`|n/a| yes |
225
+
|kubernetes\_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 |
226
+
|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 |
227
+
|max\_size| Maximum number of worker nodes |`number`|n/a| yes |
228
+
|min\_size| Minimum number of worker nodes |`number`|n/a| yes |
229
+
|module\_depends\_on| Can be any value desired. Module will wait for this value to be computed before creating node group. |`any`|`null`| no |
230
+
| name | Solution name, e.g. 'app' or 'cluster' |`string`|n/a| yes |
231
+
| namespace | Namespace, which could be your organization name, e.g. 'eg' or 'cp' |`string`|`""`| no |
232
+
|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)`|`[]`| no |
233
+
| stage | Stage, e.g. 'prod', 'staging', 'dev', or 'test' |`string`|`""`| no |
234
+
|subnet\_ids| A list of subnet IDs to launch resources in |`list(string)`|n/a| yes |
| Name | Description | Type | Default | Required |
4
-
|------|-------------|:----:|:-----:|:-----:|
5
-
|ami_release_version| AMI version of the EKS Node Group. Defaults to latest version for Kubernetes version | string |`null`| no |
6
-
|ami_type| Type of Amazon Machine Image (AMI) associated with the EKS Node Group. Defaults to `AL2_x86_64`. Valid values: `AL2_x86_64`, `AL2_x86_64_GPU`. Terraform will only perform drift detection if a configuration value is provided | string |`AL2_x86_64`| no |
|cluster_name| The name of the EKS cluster | string |-| yes |
9
-
| delimiter | Delimiter to be used between `namespace`, `stage`, `name` and `attributes`| string |`-`| no |
10
-
|desired_size| Desired number of worker nodes |number |-| yes |
11
-
|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 |`20`| no |
12
-
|ec2_ssh_key| SSH key name that should be used to access the worker nodes | string |`null`| no |
13
-
|enable_cluster_autoscaler| Whether to enable node group to scale the Auto Scaling Group | bool |`false`| no |
14
-
| enabled | Whether to create the resources. Set to `false` to prevent the module from creating any resources | bool |`true`| no |
15
-
|existing_workers_role_policy_arns| List of existing policy ARNs that will be attached to the workers default role on creation | list(string) |`<list>`| no |
16
-
|existing_workers_role_policy_arns_count| Count of existing policy ARNs that will be attached to the workers default role on creation. Needed to prevent Terraform error `count can't be computed`| number |`0`| no |
17
-
|instance_types| Set of instance types associated with the EKS Node Group. Defaults to ["t3.medium"]. Terraform will only perform drift detection if a configuration value is provided | list(string) |-| yes |
18
-
|kubernetes_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) |`<map>`| no |
19
-
|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 |
20
-
|max_size| Maximum number of worker nodes | number |-| yes |
21
-
|min_size| Minimum number of worker nodes | number |-| yes |
22
-
|module_depends_on| Can be any value desired. Module will wait for this value to be computed before creating node group. | any |`null`| no |
23
-
| name | Solution name, e.g. 'app' or 'cluster' | string |-| yes |
24
-
| namespace | Namespace, which could be your organization name, e.g. 'eg' or 'cp' | string | `` | no |
25
-
|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) |`<list>`| no |
26
-
| stage | Stage, e.g. 'prod', 'staging', 'dev', or 'test' | string | `` | no |
27
-
|subnet_ids| A list of subnet IDs to launch resources in | list(string) |-| yes |
|ami\_release\_version| AMI version of the EKS Node Group. Defaults to latest version for Kubernetes version |`string`|`null`| no |
21
+
|ami\_type| Type of Amazon Machine Image (AMI) associated with the EKS Node Group. Defaults to `AL2_x86_64`. Valid values: `AL2_x86_64`, `AL2_x86_64_GPU`. Terraform will only perform drift detection if a configuration value is provided |`string`|`"AL2_x86_64"`| no |
22
+
| attributes | Additional attributes (e.g. `1`) |`list(string)`|`[]`| no |
23
+
|cluster\_name| The name of the EKS cluster |`string`|n/a| yes |
24
+
| delimiter | Delimiter to be used between `namespace`, `stage`, `name` and `attributes`|`string`|`"-"`| no |
25
+
|desired\_size| Desired number of worker nodes (external changes ignored) |`number`|n/a| yes |
26
+
|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`|`20`| no |
27
+
|ec2\_ssh\_key| SSH key name that should be used to access the worker nodes |`string`|`null`| no |
28
+
|enable\_cluster\_autoscaler| Whether to enable node group to scale the Auto Scaling Group |`bool`|`false`| no |
29
+
| enabled | Whether to create the resources. Set to `false` to prevent the module from creating any resources |`bool`|`true`| no |
30
+
|existing\_workers\_role\_policy\_arns| List of existing policy ARNs that will be attached to the workers default role on creation |`list(string)`|`[]`| no |
31
+
|existing\_workers\_role\_policy\_arns\_count| Count of existing policy ARNs that will be attached to the workers default role on creation. Needed to prevent Terraform error `count can't be computed`|`number`|`0`| no |
32
+
|instance\_types| Set of instance types associated with the EKS Node Group. Defaults to ["t3.medium"]. Terraform will only perform drift detection if a configuration value is provided |`list(string)`|n/a| yes |
33
+
|kubernetes\_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 |
34
+
|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 |
35
+
|max\_size| Maximum number of worker nodes |`number`|n/a| yes |
36
+
|min\_size| Minimum number of worker nodes |`number`|n/a| yes |
37
+
|module\_depends\_on| Can be any value desired. Module will wait for this value to be computed before creating node group. |`any`|`null`| no |
38
+
| name | Solution name, e.g. 'app' or 'cluster' |`string`|n/a| yes |
39
+
| namespace | Namespace, which could be your organization name, e.g. 'eg' or 'cp' |`string`|`""`| no |
40
+
|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)`|`[]`| no |
41
+
| stage | Stage, e.g. 'prod', 'staging', 'dev', or 'test' |`string`|`""`| no |
42
+
|subnet\_ids| A list of subnet IDs to launch resources in |`list(string)`|n/a| yes |
0 commit comments