improve desription and default values
This commit is contained in:
@@ -16,25 +16,25 @@ variable "description" {
|
|||||||
|
|
||||||
variable "threshold" {
|
variable "threshold" {
|
||||||
type = number
|
type = number
|
||||||
description = "The threshold for the monitoring, used for all resources unless overridden by *_threshold."
|
description = "The threshold for the monitoring, used for all resources unless overridden by *_threshold - expressed as a percentage."
|
||||||
default = 90
|
default = 90
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "memory_threshold" {
|
variable "memory_threshold" {
|
||||||
type = number
|
type = number
|
||||||
description = "The threshold for the memory monitoring."
|
description = "The threshold for the memory monitoring - expressed as a percentage."
|
||||||
default = 90
|
default = 90
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "disk_threshold" {
|
variable "disk_threshold" {
|
||||||
type = number
|
type = number
|
||||||
description = "The threshold for the disk monitoring."
|
description = "The threshold for the disk monitoring - expressed as a percentage."
|
||||||
default = 90
|
default = 90
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "disks" {
|
variable "disks" {
|
||||||
type = list(string)
|
type = list(string)
|
||||||
description = "The disks to monitor."
|
description = "The disks to monitor. e.g. ['/', '/home']"
|
||||||
default = ["/"]
|
default = ["/"]
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -47,7 +47,7 @@ variable "enabled" {
|
|||||||
variable "memory_enabled" {
|
variable "memory_enabled" {
|
||||||
type = bool
|
type = bool
|
||||||
description = "Whether the memory monitoring is enabled."
|
description = "Whether the memory monitoring is enabled."
|
||||||
default = false
|
default = true
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "disk_enabled" {
|
variable "disk_enabled" {
|
||||||
|
|||||||
Reference in New Issue
Block a user