This repository has been archived on 2024-11-12. You can view files and clone it, but cannot push or open issues or pull requests.
iac/modules/vigil/inputs.tf

93 lines
2.3 KiB
Terraform
Raw Permalink Normal View History

2024-06-28 13:49:44 +00:00
variable "vigil_version" {
type = string
description = "The version of Vigil to deploy"
default = "v1.26.3"
}
variable "vigil_service_name" {
type = string
description = "The name of the Vigil service"
default = "vigil"
}
2024-06-28 15:53:53 +00:00
variable "docker_networks" {
type = list(object({
id = string,
name = string,
}))
description = "Docker networks to connect the vigil service to"
default = null
}
variable "notify_on_startup" {
type = bool
description = "Whether to send a startup notifications"
default = false
}
variable "notify_telegram" {
type = object({
token = string
channel = string
2024-08-23 21:56:19 +00:00
topic = optional(string, null)
})
description = "Telegram configuration"
default = null
}
2024-06-28 15:53:53 +00:00
variable "monitored_services" {
2024-06-28 13:49:44 +00:00
type = map(list(object({
2024-07-03 23:10:04 +00:00
id = string
label = string
endpoints = list(string)
http_method = optional(string, null)
2024-06-29 18:38:30 +00:00
http_status_healthy_below = optional(number, 400)
http_status_healthy_above = optional(number, 200)
2024-06-28 13:49:44 +00:00
})))
}
variable "page_title" {
type = string
description = "The title of the Vigil page"
default = "Vigil"
}
variable "page_url" {
type = string
description = "The URL of the Vigil page"
default = "https://vigil.example.com"
}
variable "company_name" {
type = string
description = "The name of the company"
default = "ExampleCo"
}
variable "icon_color" {
type = string
description = "The color of the icon"
default = "#1972F5"
}
variable "icon_url" {
type = string
description = "The URL of the icon"
default = "https://example.com/icon.png"
}
variable "logo_color" {
type = string
description = "The color of the logo"
default = "#1972F5"
}
variable "logo_url" {
type = string
description = "The URL of the logo"
default = "https://example.com/logo.png"
}
variable "website_url" {
type = string
description = "The URL of the website"
default = "https://example.com"
}
variable "support_url" {
type = string
description = "The URL of the support page"
default = "https://example.com/support"
}
variable "custom_html" {
type = string
description = "Custom HTML to include in the Vigil page"
default = ""
}