-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
63 lines (54 loc) · 1.32 KB
/
variables.tf
File metadata and controls
63 lines (54 loc) · 1.32 KB
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
variable "prometheus_port" {
description = "The port to expose Prometheus on"
default = 9090
}
variable "grafana_port" {
description = "The port to expose Grafana on"
default = 3000
}
variable "node_exporter_port" {
description = "The port to expose Node Exporter on"
default = 9100
}
variable "grafana_admin_user" {
description = "The Grafana admin username"
default = "admin"
}
variable "grafana_admin_password" {
description = "The Grafana admin password"
sensitive = true
}
variable "grafana_datasource_name" {
description = "Name of the Prometheus datasource in Grafana"
type = string
default = "Prometheus"
}
variable "node_exporter_hosts" {
description = "List of hosts for node-exporter deployment"
type = list(object({
name = string
ip = string
ssh_user = string
ssh_port = number
}))
}
variable "service_hosts" {
description = "List of service hosts to monitor"
type = list(object({
service = string
name = string
ip = string
port = number
ssh_user = string
ssh_port = number
}))
default = []
}
variable "playbook" {
description = "The Ansible playbook to run"
type = string
}
variable "ssh_private_key_path" {
description = "Path to SSH private key for Ansible"
type = string
}