Skip to content

Commit da69a56

Browse files
committed
fix instance type
1 parent 7480215 commit da69a56

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

main.tf

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
variable "eks_cluster_name" {}
22
variable "region" {}
3+
variable "instanct_type" {
4+
default = "m5.large"
5+
}
36

47
data "aws_availability_zones" "available" {}
58

@@ -41,7 +44,7 @@ module "eks" {
4144
worker_groups = [
4245
{
4346
name = "worker-group-1"
44-
instance_type = "m5-large"
47+
instance_type = var.instance_type
4548
asg_desired_capacity = 2
4649
}
4750
]

0 commit comments

Comments
 (0)