forked from Skatteetaten/terraform-nomad-trino
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
67 lines (62 loc) · 1.47 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
# Nomad
variable "nomad_provider_address" {
type = string
description = "Nomad address"
default = "http://127.0.0.1:4646"
}
variable "nomad_datacenters" {
type = list(string)
description = "Nomad data centers"
default = ["dc1"]
}
variable "nomad_namespace" {
type = string
description = "[Enterprise] Nomad namespace"
default = "default"
}
variable "nomad_job_name" {
type = string
description = "Nomad job name"
default = "presto"
}
# presto
variable "service_name" {
type = string
description = "Presto service name"
default = "presto"
}
variable "port" {
type = number
description = "Presto http port"
default = 8080
}
variable "docker_image" {
type = string
description = "Presto docker image"
default = "prestosql/presto:333"
}
variable "container_environment_variables" {
type = list(string)
description = "Presto environment variables"
default = [""]
}
variable "hivemetastore" {
type = object({
service_name = string,
port = number,
})
default = {
service_name = "hive-metastore"
port = 9083
}
description = "Hivemetastore data-object contains service_name and port"
}
variable "minio" {
type = object({
service_name = string,
port = number,
access_key = string,
secret_key = string,
})
description = "Minio data-object contains service_name, port, access_key and secret_key"
}