-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
70 lines (56 loc) · 1.58 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
#
# Mandatory inputs
#
variable name {
description = "The name prefix of the cluster"
}
variable email {
description = "Email used for LetsEncrypt registration"
}
variable region_name {
description = "Name of the region to be used by the openstack provider (refers to OS_REGION_NAME)"
}
variable cloud_name {
description = "Name of the cloud to be used by the openstack provider (refers to OS_CLOUD). Defaults to var.name"
}
variable allowed_prefixes {
description = "OVH offices, vpn, iplb ingress prefixes"
type = set(string)
default = []
}
#
# Optional inputs
#
variable ssh_keypair_name {
type = string
description = "keypair to install on servers (has to be present in pki)"
default = "jitsi"
}
variable flavor_name {
description = "Master node flavor name"
default = "b2-7"
}
variable image_name {
description = "Name of an image to boot the nodes from (OS should be Ubuntu 16.04)"
default = "Ubuntu 18.04"
}
variable ssh_user {
description = "Name of the user used in image_name"
default = "ubuntu"
}
variable fqdn {
description = "Fully qualified domain name of the server. By default, will use the reverse name of the public ip"
default = ""
}
variable cronjob_enabled {
description = "Enable cronjob to shelve/unshelve the jitsi server so it is not billed"
default = false
}
variable cronjob_unshelve {
description = "Unshelve instance"
default = "00 16 * * *"
}
variable cronjob_shelve {
description = "Shelve instance. (Put instance to sleep so it is not billed)"
default = "30 22 * * *"
}