-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
83 lines (72 loc) · 1.61 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
variable "provider_name" {
type = string
description = "The infrastructure provider"
}
variable "cluster_name" {
type = string
description = "Name of the cluster"
}
variable "cluster_address" {
type = string
description = "Public facing IP of the cluster"
}
variable "password_token" {
type = string
description = "The trust token of the cluster"
}
variable "cluster_port" {
type = number
description = "Port of the cluster"
default = 8443
}
variable "uplink_channel" {
type = string
description = "Which distribution channel to use"
default = "master"
}
variable "kit_slug" {
type = string
description = "The slug of the kit to use. lite | pro"
default = "lite"
}
variable "region" {
type = string
description = "Region of your cluster"
}
variable "bootstrap_node" {
description = "The bootstrap node detail"
type = object({
slug = string
public_ip = string
})
}
variable "nodes" {
description = "Other nodes detail"
type = list(
object({
slug = string
public_ip = string
})
)
}
variable "balancer" {
description = "Whether the balancer is active"
type = object({
enabled = bool
name = optional(string)
address = optional(string)
dependencies = list(string)
})
default = {
enabled = false
name = null
address = null
dependencies = []
}
}
variable "insterra_component_id" {
description = "The insterra component id of the storage"
type = number
nullable = true
default = null
}