Files
a13labs.infra/terraform/modules/utils/prometheus/variables.tf
T
alexandre.pires e6a3f3affd Add custom error pages and Nginx configuration for proxy module
- Introduced custom HTML error pages for various HTTP status codes (400, 401, 403, 404, 408, 429, 500, 502, 503, 504) in the proxy module.
- Created a .gitignore file to exclude non-HTML files in the error resources directory.
- Updated Nginx configuration to serve custom error pages for upstream errors.
- Added new Nginx configuration templates for handling HTTP and stream protocols.
- Implemented Wireguard configuration templates and associated variables for secure connections.
- Established Kubernetes resources for Stunnel and Wireguard, including deployment, service accounts, and config maps.
- Defined variables for the Stunnel and Wireguard modules to facilitate configuration.
- Created a new Wol Proxy module with Kubernetes resources for deployment and service management.
2025-10-02 00:19:01 +02:00

35 lines
715 B
Terraform

variable "tag" {
description = "Prometheus image tag"
type = string
default = "latest"
}
variable "retention_time" {
description = "Prometheus data retention time"
type = string
default = "15d"
}
variable "rules" {
description = "Prometheus alerting rules"
type = list(object({
alert = string
expr = string
for = string
labels = map(string)
annotations = map(string)
}))
default = []
}
variable "config" {
description = "Custom Prometheus configuration in YAML format"
type = string
default = ""
}
variable "persistent_folder" {
description = "The path to the persistent folder"
type = string
}