Add status service to healthchecks.io

This commit is contained in:
Tobias Reisinger 2024-10-07 03:29:20 +02:00
parent a15e70d73d
commit 849b3a277d
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
2 changed files with 18 additions and 0 deletions

View file

@ -46,3 +46,17 @@ resource "healthchecksio_check" "healthcheck" {
timeout = 300
grace = 600
}
resource "healthchecksio_check" "status" {
name = "status.serguzim.me"
desc = "Monitoring for the status service"
channels = [
data.healthchecksio_channel.email.id,
data.healthchecksio_channel.signal.id,
data.healthchecksio_channel.ntfy.id,
]
timeout = 300
grace = 600
}

View file

@ -40,6 +40,10 @@ output "healthchecksio" {
"ping_url" = check.ping_url
}
}
status = {
"id" = healthchecksio_check.status.id
"ping_url" = healthchecksio_check.status.ping_url
}
}
}