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
- Can now selectively override keys in `workers_group_defaults` variable rather than callers maintaining a duplicate of the whole map. (by @dpiddockcmp)
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -117,7 +117,7 @@ MIT Licensed. See [LICENSE](https://github.com/terraform-aws-modules/terraform-a
117
117
| worker_groups | A list of maps defining worker group configurations. See workers_group_defaults for valid keys. | list | `<list>` | no |
118
118
| worker_security_group_id | If provided, all workers will be attached to this security group. If not given, a security group will be created with necessary ingres/egress to work with the EKS cluster. | string | `` | no |
119
119
| worker_sg_ingress_from_port | Minimum port number from which pods will accept communication. Must be changed to a lower value if some pods in your cluster will expose a port lower than 1025 (e.g. 22, 80, or 443). | string | `1025` | no |
120
-
| workers_group_defaults | Default values for target groups as defined by the list of maps. | map | `<map>` | no |
120
+
| workers_group_defaults | Override default values for target groups. See workers_group_defaults_defaults in locals.tf for valid keys. | map | `<map>` | no |
121
121
| write_kubeconfig | Whether to write a kubeconfig file containing the cluster configuration. | string | `true` | no |
name ="count.index"# Name of the worker group. Literal count.index will never be used but if name is not set, the count.index interpolation will be used.
13
+
ami_id =""# AMI ID for the eks workers. If none is provided, Terraform will search for the latest version of their EKS optimized worker AMI.
14
+
asg_desired_capacity ="1"# Desired worker capacity in the autoscaling group.
15
+
asg_max_size ="3"# Maximum worker capacity in the autoscaling group.
16
+
asg_min_size ="1"# Minimum worker capacity in the autoscaling group.
17
+
instance_type ="m4.large"# Size of the workers instances.
18
+
spot_price =""# Cost of spot instance.
19
+
root_volume_size ="100"# root volume size of workers instances.
20
+
root_volume_type ="gp2"# root volume type of workers instances, can be 'standard', 'gp2', or 'io1'
21
+
root_iops ="0"# The amount of provisioned IOPS. This must be set with a volume_type of "io1".
22
+
key_name =""# The key name that should be used for the instances in the autoscaling group
23
+
pre_userdata =""# userdata to pre-append to the default userdata.
24
+
additional_userdata =""# userdata to append to the default userdata.
25
+
ebs_optimized =true# sets whether to use ebs optimization on supported types.
public_ip =false# Associate a public ip address with a worker
28
+
kubelet_node_labels =""# This string is passed directly to kubelet via --node-labels= if set. It should be comma delimited with no spaces. If left empty no --node-labels switch is added.
29
+
subnets =""# A comma delimited string of subnets to place the worker nodes in. i.e. subnet-123,subnet-456,subnet-789
30
+
autoscaling_enabled =false# Sets whether policy and matching tags will be added to allow autoscaling.
description="Default values for target groups as defined by the list of maps."
79
+
description="Override default values for target groups. See workers_group_defaults_defaults in locals.tf for valid keys."
80
80
type="map"
81
-
82
-
default={
83
-
name ="count.index"# Name of the worker group. Literal count.index will never be used but if name is not set, the count.index interpolation will be used.
84
-
ami_id =""# AMI ID for the eks workers. If none is provided, Terraform will search for the latest version of their EKS optimized worker AMI.
85
-
asg_desired_capacity ="1"# Desired worker capacity in the autoscaling group.
86
-
asg_max_size ="3"# Maximum worker capacity in the autoscaling group.
87
-
asg_min_size ="1"# Minimum worker capacity in the autoscaling group.
88
-
instance_type ="m4.large"# Size of the workers instances.
89
-
spot_price =""# Cost of spot instance.
90
-
root_volume_size ="100"# root volume size of workers instances.
91
-
root_volume_type ="gp2"# root volume type of workers instances, can be 'standard', 'gp2', or 'io1'
92
-
root_iops ="0"# The amount of provisioned IOPS. This must be set with a volume_type of "io1".
93
-
key_name =""# The key name that should be used for the instances in the autoscaling group
94
-
pre_userdata =""# userdata to pre-append to the default userdata.
95
-
additional_userdata =""# userdata to append to the default userdata.
96
-
ebs_optimized =true# sets whether to use ebs optimization on supported types.
public_ip =false# Associate a public ip address with a worker
99
-
kubelet_node_labels =""# This string is passed directly to kubelet via --node-labels= if set. It should be comma delimited with no spaces. If left empty no --node-labels switch is added.
100
-
subnets =""# A comma delimited string of subnets to place the worker nodes in. i.e. subnet-123,subnet-456,subnet-789
101
-
autoscaling_enabled =false# Sets whether policy and matching tags will be added to allow autoscaling.
0 commit comments