forked from DNXLabs/terraform-aws-eks-grafana-prometheus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_variables.tf
113 lines (96 loc) · 2.77 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
variable "enabled" {
type = bool
default = true
description = "Variable indicating whether deployment is enabled."
}
variable "create_namespace_prometheus" {
type = bool
default = true
description = "Whether to create Prometheus Kubernetes namespace with name defined by `namespace`."
}
variable "create_namespace_grafana" {
type = bool
default = true
description = "Whether to create Grafana Kubernetes namespace with name defined by `namespace`."
}
variable "namespace_prometheus" {
type = string
default = "prometheus"
description = "Kubernetes namespace to deploy Prometheus stack Helm charts."
}
variable "namespace_grafana" {
type = string
default = "grafana"
description = "Kubernetes namespace to deploy Grafana stack Helm charts."
}
variable "mod_dependency" {
default = null
description = "Dependence variable binds all AWS resources allocated by this module, dependent modules reference this variable."
}
# Prometheus
variable "settings_prometheus" {
default = {
alertmanager = {
persistentVolume = {
storageClass = "gp2"
}
}
server = {
persistentVolume = {
storageClass = "gp2"
}
}
}
description = "Additional settings which will be passed to Prometheus Helm chart values."
}
variable "helm_chart_prometheus_release_name" {
type = string
default = "prometheus"
description = "Prometheus Helm release name"
}
variable "helm_chart_prometheus_name" {
type = string
default = "prometheus"
description = "Prometheus Helm chart name to be installed"
}
variable "helm_chart_prometheus_version" {
type = string
default = "14.5.0"
description = "Prometheus Helm chart version."
}
variable "helm_chart_prometheus_repo" {
type = string
default = "https://prometheus-community.github.io/helm-charts"
description = "Prometheus repository name."
}
# Grafana
variable "settings_grafana" {
default = {
persistence = {
enabled = true
storageClassName = "gp2"
}
adminPassword = "admin"
}
description = "Additional settings which will be passed to Grafana Helm chart values."
}
variable "helm_chart_grafana_release_name" {
type = string
default = "grafana"
description = "Grafana Helm release name"
}
variable "helm_chart_grafana_name" {
type = string
default = "grafana"
description = "Grafana Helm chart name to be installed"
}
variable "helm_chart_grafana_version" {
type = string
default = "6.15.0"
description = "Grafana Helm chart version."
}
variable "helm_chart_grafana_repo" {
type = string
default = "https://grafana.github.io/helm-charts"
description = "Grafana repository name."
}