-
Notifications
You must be signed in to change notification settings - Fork 0
/
99_variables.tf
52 lines (43 loc) · 1019 Bytes
/
99_variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
variable tags {
type = map
default = {}
description = "Default tags"
}
# NETWORK VARS
variable vpc_cidr_block {
type = string
default = "10.0.0.0/16"
description = "CIDR for K8s VPC"
}
variable subnet_cidr_block {
type = string
default = "10.0.0.0/24"
description = "CIDR for K8S Management Subnet"
}
# INSTANCES VARS
variable master_instance_type {
type = string
default = "t3a.medium"
description = "Master Node Instance Type"
}
variable worker_instance_type {
type = string
default = "t3a.medium"
description = "Worker Node Instance Type"
}
variable worker_spot_price {
type = string
default = "0.0408"
description = "Worker Node Spot Price"
}
variable key_name {
type = string
default = "k8s"
description = "Public Key Name"
}
# SECURITY GROUPS VARS
variable allowed_ips {
type = list
default = ["0.0.0.0/0"] # All
description = "Allowed IPs for managing the cluster"
}