-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
57 lines (47 loc) · 905 Bytes
/
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
# Network
variable "net_name" {
type = string
default = "cluster-net"
}
variable "net_domain" {
type = string
default = "cluster.local"
}
variable "net_dns_forwarder" {
type = string
default = "8.8.8.8"
}
# Storage
variable "pool_name" {
type = string
default = "cluster"
}
variable "pool_path" {
type = string
default = "/var/lib/libvirt/cluster_pool"
}
# Resources of nodes
variable "nodes_quantity" {
type = number
default = 1
}
variable "nodes_name" {
type = string
default = "node"
}
variable "nodes_cpu" {
type = number
default = 2
}
variable "nodes_ram" {
type = string
default = "4096"
}
variable "nodes_disk_size" {
type = number
default = 16106127360 #15GiB in bytes
}
variable "nodes_cloud_image_path" {
type = string
default = "/var/lib/libvirt/images/AlmaLinux-8-GenericCloud-8.7-20221111.x86_64.qcow2"
}