aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/digitalocean/server/variables.tf
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2024-02-03 22:47:58 +0100
committerEgor Tensin <egor@tensin.name>2024-02-03 22:47:58 +0100
commit7ce1459f4a00805851fe36e87a489749e5f323a8 (patch)
treee2184c990f083147d1d3eecc01767ce114cbb165 /digitalocean/server/variables.tf
parentsshd: minimize initial sshd_config (diff)
downloadinfra-terraform-7ce1459f4a00805851fe36e87a489749e5f323a8.tar.gz
infra-terraform-7ce1459f4a00805851fe36e87a489749e5f323a8.zip
digitalocean/server: customizable alerts w/ higher thresholdsv1.1.0
Diffstat (limited to '')
-rw-r--r--digitalocean/server/variables.tf17
1 files changed, 17 insertions, 0 deletions
diff --git a/digitalocean/server/variables.tf b/digitalocean/server/variables.tf
index a3620fc..4912b78 100644
--- a/digitalocean/server/variables.tf
+++ b/digitalocean/server/variables.tf
@@ -38,3 +38,20 @@ variable "size" {
type = string
default = "s-1vcpu-2gb"
}
+
+variable "alert_cpu_enable" {
+ type = bool
+ default = true
+}
+variable "alert_cpu_threshold" {
+ type = number
+ default = 80
+}
+variable "alert_loadavg1_enable" {
+ type = bool
+ default = true
+}
+variable "alert_loadavg1_threshold" {
+ type = number
+ default = 5
+}