-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
45 lines (38 loc) · 1.03 KB
/
variables.tf
File metadata and controls
45 lines (38 loc) · 1.03 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
variable "ami_id" {
description = "AMI ID for the monitoring environment"
type = string
}
variable "monitoring_instance_type" {
description = "Instance type for monitoring (e.g., t3.medium or larger recommended)"
type = string
}
variable "key_name" {
description = "SSH Key pair name"
type = string
}
variable "monitoring_ingress_rules" {
description = "Ingress rules for Grafana(3000), Prometheus(9090), Loki(3100)"
type = list(object({
from_port = number
to_port = number
protocol = string
cidr_blocks = list(string)
description = string
}))
}
variable "private_ip" {
description = "Fixed private ip for alloy config"
type = string
}
variable "domain_name" {
description = "Domain name for Grafana dashboard (e.g., monitor.example.com)"
type = string
}
variable "cert_email" {
description = "email for Domain Name Certbot"
type = string
}
variable "nginx_conf_name" {
description = "Nginx conf name for the prod environment"
type = string
}