Add healthcheck pings to opentofu and add systemd cleanup to healthcheck

This commit is contained in:
Tobias Reisinger 2024-10-06 20:47:59 +02:00
parent 2ad3cce749
commit a15e70d73d
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
7 changed files with 60 additions and 11 deletions
modules/infrastructure

View file

@ -34,6 +34,12 @@ output "healthchecksio" {
"ping_url" = check.ping_url
}
}
healthcheck = {
for key, check in healthchecksio_check.healthcheck : key => {
"id" = check.id
"ping_url" = check.ping_url
}
}
}
}