-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
67 lines (62 loc) · 1.4 KB
/
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
variable "k8s_clusters" {
type = map(object({
region = string
version = string
auto_upgrade = bool
surge_upgrade = bool
high_availability = bool
maintenance_start_time = string
maintenance_day = string
size = string
node_count = number
auto_scale = bool
min_nodes = number
max_nodes = number
}))
default = {}
}
variable "k8s_clusters_node_pool" {
type = map(object({
k8s_name = string
size = string
node_count = number
auto_scale = bool
min_nodes = number
max_nodes = number
}))
default = {}
}
variable "droplets" {
type = map(object({
image = string
region = string
size = string
public_key_name = string
monitoring = bool
ipv6 = bool
resize_disk = bool
}))
default = {}
}
variable "ssh_keys" {
type = map(object({
public_key_path = string
}))
default = {}
}
variable "databases" {
type = map(object({
engine = string
version = string
size = string
region = string
node_count = number
maintenance_day = string
maintenance_hour = string
storage_size_mib = number
}))
default = {}
}
variable "kubeconfig_path" {
type = string
}