-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
89 lines (72 loc) · 2.04 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
#######################
# Bootstrap #
#######################
variable "public_key_pair_path" {
description = "Path to the public key used for SSH access"
}
variable "private_key_pair_path" {
description = "Path to the private key used for SSH access"
}
variable "ssh_login_name" {
description = "Name of the user to use for SSH access"
}
variable "openstack_auth_url" {
description = "URL of the OpenStack authentication endpoint"
}
#######################
# Network #
#######################
variable "network_cidr_v4" {
description = "CIDR of the network"
default = "192.168.10.0/24"
}
variable "network_cidr_v6" {
description = "CIDR of the network"
default = "fd00:10::/64"
}
variable "network_floating_ip_pool" {
description = "Name of the floating IP pool"
default = "public"
}
variable "network_external_id" {
description = "ID of the external network"
}
variable "network_dns_servers" {
description = "List of DNS servers"
type = list(string)
}
#######################
# Control Plane #
#######################
variable "control_plane_number" {
description = "Number of control plane instances"
default = 1
}
variable "control_plane_image_id" {
description = "ID of the image to use for the control plane instance"
}
variable "control_plane_flavor_id" {
description = "ID of the flavor to use for the control plane instance"
}
#######################
# Worker #
#######################
variable "worker_number" {
description = "Number of worker instances"
default = 1
}
variable "worker_image_id" {
description = "ID of the image to use for the worker instance"
}
variable "worker_flavor_id" {
description = "ID of the flavor to use for the worker instance"
}
#######################
# LoadBalancer #
#######################
variable "load_balancer_image_id" {
description = "ID of the image to use for the load balancer instance"
}
variable "load_balancer_flavor_id" {
description = "ID of the flavor to use for the load balancer instance"
}