-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvariables_template
More file actions
89 lines (73 loc) · 2.04 KB
/
variables_template
File metadata and controls
89 lines (73 loc) · 2.04 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
# Openstack connexion
variable "user_name" {
description = "Your Openstack Username."
default = "PCU-XXXXXXX"
}
variable "password" {
description = "Your Openstack Password."
default = "xxXXXxxXxXxXxXXX"
}
variable "tenant_id" {
description = "Your Openstack Tenant ID."
default = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}
variable "tenant_name" {
description = "Your Openstack Tenant Name."
default = "PCP-XXXXXXX"
}
# Main options
variable "keypair_name" {
description = "The keypair to be used."
default = "yubikey"
}
variable "ssh_key" {
description = "Your SSH key"
default = "xxx"
}
variable "floating_ip_pool" {
description = "The pool to be used to get floating ip"
default = "ext-floating1"
}
variable "floating_ip_pool_id" {
description = "The pool to be used to get floating ip"
default = "0f9c3806-bd21-490f-918d-4a6d1c648489" # ext-floating1
}
# Managment options
variable "managment_num" {
description = "The Number of instances to be created."
default = 1
}
variable "managment_image" {
description = "The image to be used."
default = "a585ad4f-1311-49f6-be60-a6481ec2f1c1" # Debian 11 Bullseye
}
variable "managment_flavor" {
description = "The flavor to be used."
default = "b6b7baeb-2328-48c9-8543-88cccec8ec4b" # a2-ram4-disk20-perf1
}
# Controlplane options
variable "controlplane_num" {
description = "The Number of instances to be created."
default = 3
}
variable "controlplane_flavor" {
description = "The flavor to be used."
default = "b6b7baeb-2328-48c9-8543-88cccec8ec4b" # a2-ram4-disk20
}
variable "controlplane_volume_size" {
description = "The size of storage."
default = 20
}
# Worler options
variable "worker_num" {
description = "The Number of instances to be created."
default = 2
}
variable "worker_flavor" {
description = "The flavor to be used."
default = "b6b7baeb-2328-48c9-8543-88cccec8ec4b" # a2-ram4-disk20
}
variable "worker_volume_size" {
description = "The size of storage."
default = 100
}