-
Notifications
You must be signed in to change notification settings - Fork 3
/
variables.tf
90 lines (75 loc) · 1.97 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
variable "network_autostart" {
description = "Whether to autostart the libvirt network"
type = bool
default = true
}
variable "network_name" {
description = "Name of the libvirt network"
type = string
default = "default"
}
variable "network_mode" {
description = "Mode of the libvirt network"
type = string
default = "nat"
}
variable "network_domain" {
description = "Domain of the libvirt network"
type = string
default = null
}
variable "network_cidr" {
description = "CIDR for the libvirt network"
type = list(string)
default = [ "192.168.122.0/24" ]
}
variable "network_bridge" {
description = "Bridge for the libvirt network"
type = string
default = null
}
variable "network_mtu" {
description = "MTU for the libvirt network"
type = number
default = null
}
variable "network_dns_enabled" {
description = "Whether DNS is enabled for the libvirt network"
type = bool
default = false
}
variable "network_dns_local" {
description = "Whether DNS is local-only for the libvirt network"
type = bool
default = false
}
variable "network_dhcp_enabled" {
description = "Whether DHCP is enabled for the libvirt network"
type = bool
default = false
}
variable "network_dhcp_range_start" {
description = "DHCP range start"
type = string
default = null
}
variable "network_dhcp_range_end" {
description = "DHCP range end"
type = string
default = null
}
variable "network_dnsmasq_options" {
description = "Map of dnsmasq options for the libvirt network"
type = map(string)
default = {}
}
variable "network_dns_entries" {
description = "Map of DNS entries for the libvirt network"
type = map(string)
default = {}
}
variable "network_routes" {
description = "Map of routes for the libvirt network (format CIDR = gateway --> '10.0.0.1/24' = '10.0.0.1' )"
type = map(string)
default = {}
}