-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
55 lines (52 loc) · 1.19 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
variable "grafana_service_account_token" {
description = "Grafana Service Account Token allowing Terraform to manage Grafana resources on the Mento Stack"
type = string
sensitive = true
}
variable "aegis_folder" {
description = "The aegis folder in which to create the Grafana dashboard"
type = object({
uid = string
})
}
locals {
chains = ["celo", "alfajores"]
prometheus_datasource_uid = "grafanacloud-clabsmento-prom"
common_panel_config = {
datasource = {
type = "prometheus"
uid = local.prometheus_datasource_uid
}
legend = {
showLegend = true
displayMode = "list"
placement = "bottom"
}
tooltip = {
mode = "single"
sort = "none"
}
}
state_timeline_config = {
type = "state-timeline"
options = {
mergeValues = false
showValue = "never"
alignValue = "center"
rowHeight = 0.9
}
fieldConfig = {
defaults = {
custom = {
lineWidth = 0
fillOpacity = 70
spanNulls = false
insertNulls = false
}
color = {
mode = "continuous-GrYlRd"
}
}
}
}
}