Skip to content

Commit 19c7697

Browse files
authored
Merge pull request #19 from NgaNaNa/feature/eks-infra
fixes the reference to the instance_type
2 parents d3ffc4d + b297592 commit 19c7697

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

infra/eks/_variables.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ variable "alb_public_subnet_ids" {
2222
type = list(string)
2323
}
2424

25-
# variable "instance_type" {
26-
# type = string
27-
# default = "t2.micro"
28-
# }
25+
variable "instance_type" {
26+
type = string
27+
default = "t2.micro"
28+
}
2929

3030
# variable "desired_capacity" {
3131
# type = number

infra/eks/cluster.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module "eks" {
1111
# This config maps to an Auto Scaling Group under the hood
1212
eks_managed_node_groups = {
1313
default = {
14-
instance_types = ["var.instance_type"]
14+
instance_types = [var.instance_type]
1515
desired_size = 1
1616
min_size = 1
1717
max_size = 2

0 commit comments

Comments
 (0)