terraform-modules/grafana/contact-point-opsgenie/variables.tf

37 lines
974 B
HCL

########################################
# Required
########################################
variable "contact_point_name" {
description = "Name of the Opsgenie contact point (receiver) in Grafana"
type = string
}
variable "opsgenie_api_key" {
description = "Opsgenie API key"
type = string
sensitive = true
}
variable "disable_provenance" {
description = "Set to true to disable provenance on the contact-point"
type = bool
default = false
}
variable "opsgenie_url" {
description = "Base URL for the Opsgenie API (change for US vs EU)"
type = string
default = "https://api.eu.opsgenie.com/v2/alerts"
}
variable "override_priority" {
description = "Whether Opsgenie should override alert priority"
type = bool
default = true
}
variable "auto_close" {
description = "Whether to auto-close alerts in OpsGenie when they resolve in the Alertmanager"
type = bool
default = true
}