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
| additional\_tag\_map | Additional tags for appending to tags\_as\_list\_of\_maps. Not added to `tags`. |`map(string)`|`{}`| no |
194
196
| ami\_release\_version | AMI version of the EKS Node Group. Defaults to latest version for Kubernetes version |`string`|`null`| no |
195
197
| 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 |
196
198
| attributes | Additional attributes (e.g. `1`) |`list(string)`|`[]`| no |
197
199
| cluster\_name | The name of the EKS cluster |`string`| n/a | yes |
198
-
| delimiter | Delimiter to be used between `namespace`, `stage`, `name` and `attributes`|`string`|`"-"`| no |
200
+
| 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. | <pre>object({<br> enabled = bool<br> namespace = string<br> environment = string<br> stage = string<br> name = string<br> delimiter = string<br> attributes = list(string)<br> tags = map(string)<br> additional_tag_map = map(string)<br> regex_replace_chars = string<br> label_order = list(string)<br> id_length_limit = number<br> })</pre> | <pre>{<br> "additional_tag_map": {},<br> "attributes": [],<br> "delimiter": null,<br> "enabled": true,<br> "environment": null,<br> "id_length_limit": null,<br> "label_order": [],<br> "name": null,<br> "namespace": null,<br> "regex_replace_chars": null,<br> "stage": null,<br> "tags": {}<br>}</pre> | no |
201
+
| 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 |
199
202
| desired\_size | Desired number of worker nodes (external changes ignored) |`number`| n/a | yes |
200
203
| 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 |
201
204
| ec2\_ssh\_key | SSH key name that should be used to access the worker nodes |`string`|`null`| no |
202
205
| enable\_cluster\_autoscaler | Whether to enable node group to scale the Auto Scaling Group |`bool`|`false`| no |
203
-
| enabled |Whether to create the resources. Set to `false` to prevent the module from creating any resources |`bool`|`true`| no |
204
-
| environment | Environment, e.g. 'prod', 'staging', 'dev', 'pre-prod', 'UAT' |`string`|`""`| no |
206
+
| enabled | Set to false to prevent the module from creating any resources |`bool`|`null`| no |
207
+
| environment | Environment, e.g. 'uw2', 'us-west-2', OR 'prod', 'staging', 'dev', 'UAT' |`string`|`null`| no |
205
208
| existing\_workers\_role\_policy\_arns | List of existing policy ARNs that will be attached to the workers default role on creation |`list(string)`|`[]`| no |
206
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
+
| id\_length\_limit | Limit `id` to this many characters.<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 |
207
211
| 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 |
208
212
| 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 |
209
213
| 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 |
214
+
| label\_order | The naming order of the id output and Name tag.<br>Defaults to ["namespace", "environment", "stage", "name", "attributes"].<br>You can omit any of the 5 elements, but at least one must be present. |`list(string)`|`null`| no |
210
215
| max\_size | Maximum number of worker nodes |`number`| n/a | yes |
211
216
| min\_size | Minimum number of worker nodes |`number`| n/a | yes |
212
217
| module\_depends\_on | Can be any value desired. Module will wait for this value to be computed before creating node group. |`any`|`null`| no |
213
-
| name | Solution name, e.g. 'app' or 'cluster' |`string`| n/a | yes |
214
-
| namespace | Namespace, which could be your organization name, e.g. 'eg' or 'cp' |`string`|`""`| no |
218
+
| name | Solution name, e.g. 'app' or 'jenkins' |`string`|`null`| no |
219
+
| namespace | Namespace, which could be your organization name or abbreviation, e.g. 'eg' or 'cp' |`string`|`null`| no |
220
+
| regex\_replace\_chars | Regex to replace chars with empty string in `namespace`, `environment`, `stage` and `name`.<br>If not set, `"/[^a-zA-Z0-9-]/"` is used to remove all characters other than hyphens, letters and digits. |`string`|`null`| no |
215
221
| 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 |
216
-
| stage | Stage, e.g. 'prod', 'staging', 'dev', or 'test'|`string`|`""`| no |
222
+
| stage | Stage, e.g. 'prod', 'staging', 'dev', OR 'source', 'build', 'test', 'deploy', 'release' |`string`|`null`| no |
217
223
| subnet\_ids | A list of subnet IDs to launch resources in |`list(string)`| n/a | yes |
0 commit comments