-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
88 lines (73 loc) · 2.46 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
#
# Variables
#
variable "name" {
description = "The name of the environment."
type = "string"
}
variable "image" {
description = "The image to deploy as the Redash machine(s)."
type = "string"
}
variable "package" {
description = "The package to deploy as the Redash machine(s)."
type = "string"
}
variable "networks" {
description = "The networks to deploy the Redash machine(s) within."
type = "list"
}
variable "private_key_path" {
description = "The path to the private key to use for provisioning machines."
type = "string"
}
variable "user" {
description = "The user to use for provisioning machines."
type = "string"
default = "root"
}
variable "provision" {
description = "Boolean 'switch' to indicate if Terraform should do the machine provisioning to install and configure Redash."
type = "string"
}
variable "version_redash" {
default = "3.0.0.b3134"
description = "The version of Redash to install. See https://github.com/getredash/redash/blob/master/CHANGELOG.md. Note: the build numbers are elusive to find."
type = "string"
}
variable "cns_service_name_redash" {
description = "The Redash service name. Note: this is the service name only, not the full CNS record."
type = "string"
default = "redash"
}
variable "cns_service_name_presto_coordinator" {
description = "The Presto Coordinator CNS service name. Note: this is the service name only, not the full CNS record."
type = "string"
default = "presto-coordinator"
}
variable "client_access" {
description = <<EOF
'From' targets to allow client access to Redash' web port - i.e. access from other VMs or public internet.
See https://docs.joyent.com/public-cloud/network/firewall/cloud-firewall-rules-reference#target
for target syntax.
EOF
type = "list"
default = ["any"]
}
variable "cns_fqdn_base" {
description = "The fully qualified domain name base for the CNS address - e.g. 'cns.joyent.com' for Joyent Public Cloud."
type = "string"
default = "triton.zone"
}
variable "bastion_host" {
description = "The Bastion host to use for provisioning."
type = "string"
}
variable "bastion_user" {
description = "The Bastion user to use for provisioning."
type = "string"
}
variable "bastion_cns_service_name" {
description = "The CNS service name for the Prometheus machine(s) to allow access FROM the Bastion machine(s)."
type = "string"
}