-
Notifications
You must be signed in to change notification settings - Fork 5
/
vars.tf
88 lines (72 loc) · 2.04 KB
/
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
variable "lab_flavor" {
description = "Lab instance type"
default = "baremetal-32"
}
# Note: If using baremetals, this should be set to false.
# Can be set to true to give VMs more storage space.
variable "boot_labs_from_volume" {
description = "Whether or not to boot labs from volume."
default = "false"
}
variable "bastion_flavor" {
description = "Bastion instance type"
default = "general.v1.tiny"
}
variable "registry_flavor" {
description = "Registry instance type"
default = "general.v1.medium"
}
variable "registry_data_vol" {
description = "Registry data volume in GB"
default = "100"
}
variable "image_id" {
description = "Boot from volume requires ID of image"
}
variable "image_name" {
description = "Lab software image base"
default = "CentOS-stream8"
}
variable "image_user" {
description = "Lab software image cloud user"
default = "cloud-user"
}
variable "lab_count" {
description = "Number of labs"
default = "1"
}
variable "lab_data_vol" {
description = "Lab data volume in GB"
default = "200"
}
variable "lab_net_ipv4" {
description = "Network for lab"
default = "aufn-ipv4-vlan"
}
variable "lab_prefix" {
description = "prefix to add to all hosts created under this deployment"
default = "aufn"
}
variable "allocate_floating_ips" {
description = "Whether or not floating ips should be allocated to lab instances and the registry"
default = "false"
}
variable "floating_ip_external_net" {
description = "Network name to use for floating IP allocation"
default = "external"
}
# Remember to set a floating IP if you're using a bastion
variable "create_bastion" {
description = "Whether or not to create a bastion instance"
default = "false"
}
variable "bastion_floating_ip" {
description = "Bastion floating IP"
default = "0.0.0.0"
}
variable "dns_zone_name" {
description = "The name of the DNS zone to use for creating DNS records. Leave null to skip DNS record creation."
type = string
nullable = true
default = null
}