-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
113 lines (95 loc) · 1.94 KB
/
Copy pathvariables.tf
File metadata and controls
113 lines (95 loc) · 1.94 KB
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
variable "cluster" {
type = string
default = "plural"
}
variable "enable_stacks" {
type = bool
default = false
}
variable "kubernetes_version" {
type = string
default = "1.34" # dev version
}
variable "next_kubernetes_version" {
type = string
default = "1.34" # dev version
}
variable "node_pools" {
type = map(any)
default = {
blue = {
min_count = 0,
max_count = 10,
machine_type = "e2-standard-2"
}
green = {
min_count = 0,
max_count = 10,
machine_type = "e2-standard-2"
}
}
}
variable "node_pools_taints" {
type = map(list(object({ key = string, value = string, effect = string })))
default = { "all": [], "default-node-pool": [] }
}
variable "node_pools_labels" {
type = map(map(string))
default = {
"all": {},
"default-node-pool": {},
"blue": {"platform.plural.sh/bg": "blue"},
"green": {"platform.plural.sh/bg": "green"},
}
}
variable "node_pools_tags" {
type = map(list(string))
default = { "all": [], "default-node-pool": [] }
}
variable "project_id" {
type = string
default = "pluralsh-test-384515"
}
variable "region" {
type = string
description = "The region to host the cluster in"
default = "us-central1"
}
variable "subnet_cidr" {
type = string
default = "10.0.16.0/20"
}
variable "pods_cidr" {
type = string
default = "10.16.0.0/12"
}
variable "allocated_range_name" {
type = string
default = ""
}
variable "services_cidr" {
type = string
default = "10.1.0.0/20"
}
variable "ip_range_pods_name" {
type = string
description = "The secondary ip range to use for pods"
default = "ip-range-pods"
}
variable "ip_range_services_name" {
type = string
description = "The secondary ip range to use for services"
default = "ip-range-svc"
}
variable "tags" {
type = map(string)
default = {}
}
variable "tier" {
type = string
default = "dev"
}
variable "fleet" {
type = string
default = "tf-test"
}