Skip to content

Commit d37969e

Browse files
committed
1 parent c2fd0f3 commit d37969e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

terraform/eks-cluster/eks-cluster.tf

+4-2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ module "eks" {
22
source = "terraform-aws-modules/eks/aws"
33
cluster_version = "1.21"
44

5+
set_instance_types_on_lt = true
56
cluster_create_security_group = false
67
worker_create_security_group = false
78

@@ -22,13 +23,14 @@ module "eks" {
2223
workers_additional_policies = [
2324
aws_iam_policy.load-balancer-policy.arn]
2425

26+
node_groups_defaults = {
27+
instance_types = []
28+
}
2529
node_groups = {
2630
group1 = {
2731
desired_capacity = 2
2832
max_capacity = 5
2933
min_capacity = 1
30-
instance_types = [
31-
"t3.small"]
3234
launch_template_id = aws_launch_template.eks-node-template.id
3335
launch_template_version = aws_launch_template.eks-node-template.default_version
3436

0 commit comments

Comments
 (0)