-
Notifications
You must be signed in to change notification settings - Fork 2
/
vars.tf
67 lines (57 loc) · 1.57 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
variable "logs_url" {
type = string
description = "The URL to use to push Loki logs to"
}
variable "logs_secret" {
type = string
default = "loki"
description = "Name of secret containing auth information for Loki"
}
variable "logs_username_key" {
type = string
default = "username"
description = "Key in logs secret containing username for Loki"
}
variable "logs_password_key" {
type = string
default = "password"
description = "Key in logs secret containing password for Loki"
}
variable "metrics_url" {
type = string
description = "The URL to use to push Prometheus metrics to"
}
variable "metrics_secret" {
type = string
default = "prometheus"
description = "Name of secret containing auth information for Prometheus"
}
variable "metrics_username_key" {
type = string
default = "username"
description = "Key in metrics secret containing username for Prometheus"
}
variable "metrics_password_key" {
type = string
default = "password"
description = "Key in metrics secret containing password for Prometheus"
}
variable "cluster_name" {
type = string
description = "Name of the cluster"
}
variable "external_labels" {
type = map(string)
default = {}
description = "External labels to be applied to Grafana Agent"
}
variable "tolerations" {
type = list(object({
operator : string,
effect : string,
key : optional(string),
value : optional(string),
}))
default = []
description = "Tolerations for where to run agents"
}