-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathvariables.tf
131 lines (110 loc) · 2.82 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
variable "argocd" {
type = map(string)
description = "A set of values for enabling deployment through ArgoCD"
default = {}
}
variable "prometheus_enabled" {
type = bool
description = "Enable install prometheus"
default = true
}
variable "thanos_enabled" {
type = bool
description = "Enable install thanos"
default = true
}
variable "grafana_enabled" {
type = bool
description = "Enable install grafana"
default = true
}
variable "grafana_conf" {
type = map(string)
description = "A custom configuration for deployment"
default = {}
}
variable "prometheus_conf" {
type = map(string)
description = "A custom configuration for deployment"
default = {}
}
variable "thanos_conf" {
type = map(string)
description = "A custom configuration for deployment"
default = {}
}
variable "namespace" {
type = string
default = ""
description = "A name of the existing namespace"
}
variable "namespace_name" {
type = string
default = "monitoring"
description = "A name of namespace for creating"
}
variable "cluster_name" {
type = string
default = null
description = "A name of the Amazon EKS cluster"
}
variable "domains" {
type = list(string)
default = ["local"]
description = "A list of domains to use for ingresses"
}
variable "grafana_chart_version" {
type = string
description = "A Grafana Chart version"
default = "6.32.0"
}
variable "prometheus_chart_version" {
type = string
description = "A Prometheus Chart version"
default = "8.0.9"
}
variable "thanos_chart_version" {
type = string
description = "A Thanos Chart version"
default = "10.5.4"
}
variable "tags" {
type = map(string)
default = {}
description = "A tags for attaching to new created AWS resources"
}
variable "thanos_storage" {
type = string
description = "The type of thanos object storage backend"
default = "s3"
}
variable "thanos_password" {
type = string
description = "Password for thanos objstorage if thanos_storage minio"
default = ""
}
variable "grafana_password" {
type = string
description = "Password for grafana admin"
default = ""
}
variable "grafana_google_auth" {
type = string
description = "Enables Google auth for Grafana"
default = false
}
variable "grafana_client_id" {
type = string
description = "The id of the client for Grafana Google auth"
default = ""
}
variable "grafana_client_secret" {
type = string
description = "The token of the client for Grafana Google auth"
default = ""
}
variable "grafana_allowed_domains" {
type = string
description = "Allowed domain for Grafana Google auth"
default = "local"
}