-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdefault-vars.tf
109 lines (88 loc) · 2.07 KB
/
default-vars.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
# CloudInit Variables
variable "user_name" {}
variable "ssh_authorized-key" {}
# DNS/Mysql Variables
variable "mysql_root_pass" {}
variable "mysql_user" {}
variable "mysql_user_pass" {}
variable "api_key" {}
variable "api_allow_from" {
description = "Define networks allowed to access PowerDNS API"
default = "127.0.0.1"
}
# Libvirt Variables
variable "libvirt_uri" {
description = "URI of server running libvirtd"
default = "qemu:///system"
}
variable "prefix" {
description = "Resources will be prefixed with this to avoid clashing names"
default = "pub-dns"
}
variable "guest_count" {
description = "Number of Guests to Create"
default = "1"
}
variable "libvirt_volume_source" {
description = "Volume Image Source"
default = "https://cloud-images.ubuntu.com/releases/bionic/release/ubuntu-18.04-server-cloudimg-amd64.img"
}
variable "libvirt_volume_pool" {
description = "Volume Storage Pool"
default = "default"
}
variable "libvirt_volume_size" {
description = "Volume Size in Bytes"
default = "21474836480"
}
variable "mac_prefix" {
description = "Must change before deploying in new subnet"
default = "52:54:00:00:06"
}
variable "hostname" {
description = "Guest Hostname"
default = "ns"
}
variable "nameserver" {
description = "Default DNS server for host"
default = "127.0.0.1"
}
variable "domain_name" {
description = "Default Domain Name for host"
default = "xip.io"
}
variable "memory" {
default = "2048"
}
variable "vcpu" {
default = "2"
}
variable "network" {
description = "Name of Libvirt Network"
default = "default"
}
variable "port_group" {
description = "Name of OVS Port Group"
default = "default"
}
# SSL Variables
variable "ssl_ou" {
description = "SSL Organizational Unit"
default = "IT Departement"
}
variable "ssl_o" {
description = "SSL Organization"
default = "DNS"
}
variable "ssl_l" {
description = "SSL Location"
default = "Mountain View"
}
variable "ssl_st" {
description = "SSL State"
default = "California"
}
variable "ssl_c" {
description = "SSL Country"
default = "US"
}