We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d3ffc4d + b297592 commit 19c7697Copy full SHA for 19c7697
2 files changed
infra/eks/_variables.tf
@@ -22,10 +22,10 @@ variable "alb_public_subnet_ids" {
22
type = list(string)
23
}
24
25
-# variable "instance_type" {
26
-# type = string
27
-# default = "t2.micro"
28
-# }
+variable "instance_type" {
+ type = string
+ default = "t2.micro"
+}
29
30
# variable "desired_capacity" {
31
# type = number
infra/eks/cluster.tf
@@ -11,7 +11,7 @@ module "eks" {
11
# This config maps to an Auto Scaling Group under the hood
12
eks_managed_node_groups = {
13
default = {
14
- instance_types = ["var.instance_type"]
+ instance_types = [var.instance_type]
15
desired_size = 1
16
min_size = 1
17
max_size = 2
0 commit comments