forked from rackerlabs/tofu-openstack-flex-lab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
159 lines (134 loc) · 3.15 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
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
variable "cloud" {
type = string
description = "The cloud you want to use from clouds.yaml"
sensitive = false
}
variable "ssh_public_key_path" {
type = string
description = "path to public key you would like to add to openstack"
}
variable "kubernetes_count" {
type = number
description = "number of kubernetes nodes"
default = 3
}
variable "kubernetes_image" {
type = string
description = "Image name for kubernetes nodes"
default = "Ubuntu-22.04"
}
variable "kubernetes_flavor" {
type = string
description = "Flavor name for kubernetes nodes"
default = "gp.0.4.8"
}
variable "network_count" {
type = number
description = "number of network nodes"
default = 3
}
variable "network_image" {
type = string
description = "Image name for network nodes"
default = "Ubuntu-22.04"
}
variable "network_flavor" {
type = string
description = "Flavor name for network nodes"
default = "gp.0.4.8"
}
variable "controller_count" {
type = number
description = "number of controllers"
default = 5
}
variable "controller_image" {
type = string
description = "Image name for controller"
default = "Ubuntu-22.04"
}
variable "controller_flavor" {
type = string
description = "Flavor name for controller"
default = "gp.0.4.8"
}
variable "worker_count" {
type = number
description = "number of workers"
default = 7
}
variable "worker_image" {
type = string
description = "Image name for workers"
default = "Ubuntu-22.04"
}
variable "worker_flavor" {
type = string
description = "Flavor name for workers"
default = "gp.0.4.8"
}
variable "compute_count" {
type = number
description = "Number of compute nodes"
default = 4
}
variable "compute_image" {
type = string
description = "Image name for compute nodes"
default = "Ubuntu-22.04"
}
variable "compute_flavor" {
type = string
description = "Flavor name for compute nodes"
default = "gp.0.4.16"
}
variable "storage_count" {
type = number
description = "Number of workers that will also have storage volumes."
default = 3
}
variable "storage_image" {
type = string
description = "Image name for storage nodes"
default = "Ubuntu-22.04"
}
variable "storage_flavor" {
type = string
description = "Flavor name for storage nodes"
default = "gp.0.4.8"
}
variable "ceph_count" {
type = number
description = "Number of ceph nodes that will also have storage volumes."
default = 3
}
variable "ceph_image" {
type = string
description = "Image name for ceph nodes"
default = "Ubuntu-22.04"
}
variable "ceph_flavor" {
type = string
description = "Flavor name for ceph nodes"
default = "gp.0.4.8"
}
variable "bastion_image" {
type = string
description = "Image name for bastion node"
default = "Ubuntu-22.04"
}
variable "bastion_flavor" {
type = string
description = "Flavor name for bastion node"
default = "gp.0.4.4"
}
variable "cluster_name" {
type = string
description = "Name of the cluster"
default = "cluster.local"
}
variable "mlb_vips" {
type = list(string)
description = "VIPs to create for Metal LB, should not overlap with subnet allocation pool!"
default = ["172.31.3.1", "172.31.3.2", "172.31.3.3"]
}