-
Notifications
You must be signed in to change notification settings - Fork 2
/
variables.tf
137 lines (112 loc) · 3.33 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
variable "storage_count" {
description = "Number of storage hosts"
type = string
}
variable "ssh_public_key" {
description = "Path to an SSH public key to register as a keypair in OpenStack"
type = string
}
variable "ssh_user" {
description = "Username to use for SSH access to host"
type = string
}
variable "ansible_control_vm_name" {
description = "Name of the Ansible control host"
type = string
}
variable "seed_vm_flavor" {
description = "OpenStack flavor to use for the seed VM"
type = string
}
variable "prefix" {
description = "A prefix to apply the name of all hosts"
type = string
}
variable "compute_count" {
description = "Number of compute hosts"
type = string
}
variable "controller_count" {
description = "Number of controller hosts"
type = string
}
variable "multinode_image" {
description = "Name of an image registered in Glance with which to deploy hosts"
type = string
}
variable "multinode_keypair" {
description = "Name of an SSH keypair to register in OpenStack"
type = string
}
variable "ansible_control_vm_flavor" {
description = "OpenStack flavor to use for the Ansible control host"
type = string
}
variable "multinode_flavor" {
description = "OpenStack flavor to use for the controller and compute hosts"
type = string
}
variable "storage_flavor" {
description = "OpenStack flavor to use for the storage hosts"
type = string
}
variable "infra_vm_flavor" {
description = "OpenStack flavor to use for the Wazuh VM"
type = string
}
variable "multinode_vm_network" {
description = "OpenStack network to attach hosts to"
type = string
}
variable "multinode_vm_subnet" {
description = "OpenStack subnet to attach hosts to"
type = string
}
variable "compute_disk_size" {
description = "Block storage root disk size for compute nodes in GB. Set to 0 on baremetal to use physical storage."
type = number
}
variable "controller_disk_size" {
description = "Block storage root disk size for controller nodes in GB. Set to 0 on baremetal to use physical storage."
type = number
}
variable "ansible_control_disk_size" {
description = "Block storage root disk size for the ansible control node in GB. Set to 0 on baremetal to use physical storage."
type = number
default = 100
}
variable "seed_disk_size" {
description = "Block storage root disk size for the seed node in GB. Set to 0 on baremetal to use physical storage."
type = number
default = 100
}
variable "storage_disk_size" {
description = "Block storage root disk size for storage nodes in GB. Set to 0 on baremetal to use physical storage."
type = number
default = 100
}
variable "infra_vm_disk_size" {
description = "Block storage root disk size for infrastructure VMs."
type = number
default = 100
}
variable "deploy_wazuh" {
description = "Bool, whether or not to deploy Wazuh."
type = bool
default = false
}
variable "add_ansible_control_fip" {
description = "Bool, whether to add a floating IP address to the Ansible control host."
type = bool
default = false
}
variable "ansible_control_fip_pool" {
description = "Pool/network from which to allocate a floating IP for the Ansible control host."
type = string
default = ""
}
variable "volume_type" {
description = "Volume type to use for block storage. Set to empty string to use the default volume type."
type = string
default = ""
}