-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvars.tf
88 lines (71 loc) · 1.98 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
# Infrastructure variables
variable "nomad_server" {
type = string
description = "Path of the Nomad server's HTTP API"
}
variable "nomad_secret_id" {
type = string
description = "Secret ID for Nomad ACL token"
sensitive = true
}
variable "nomad_accessor_id" {
type = string
description = "Accessor ID for Nomad ACL token"
}
variable "desec_api_key" {
type = string
description = "Auth token of the deSEC DNS server's HTTP API"
sensitive = true
}
# Job variables
variable "job_name" {
type = string
description = "Name of the Nomad job and service"
}
variable "job_datacenter" {
type = string
description = "Name of the Nomad datacenter to run the job"
default = "sargassum-foundations"
}
variable "job_hostname_constraint" {
type = string
description = "Hostname of the Nomad node to run the job"
}
variable "job_host_network" {
type = string
description = "Name of the host network to use for port bindings"
default = "foundations_ipv6"
}
variable "job_service_public" {
type = bool
description = "Whether to publicly expose the webapp"
}
variable "job_service_custom_name" {
type = string
description = "The custom domain name for publishing the webapp"
default = ""
}
variable "job_service_ztcontroller_public" {
type = string
description = "Whether to publicly expose the ZeroTier network controller"
default = false
}
variable "fluitans_version" {
type = string
description = "Version tag of the container for fluitans"
}
# Application variables
variable "dns_domain_name" {
type = string
description = "Parent domain for assigning network domain names"
}
variable "dns_authtoken" {
type = string
description = "Auth token of the deSEC DNS server's HTTP API"
sensitive = true
}
variable "authn_admin_pw_hash" {
type = string
description = "Password hash for the admin account"
sensitive = true
}