init: add initial code

This commit is contained in:
2026-08-07 15:19:44 +02:00
commit 3efa8dff2a
3 changed files with 224 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
output "internal_dns_monitor_id" {
description = "The ID of the internal DNS Uptime Kuma monitor"
value = uptimekuma_monitor_dns.internal_dns.id
}
output "dnu_dns_monitor_id" {
description = "The ID of the DNU DNS Uptime Kuma monitor"
value = length(uptimekuma_monitor_dns.dnu_dns) > 0 ? uptimekuma_monitor_dns.dnu_dns[0].id : null
}
output "ping_monitor_id" {
description = "The ID of the ping Uptime Kuma monitor"
value = uptimekuma_monitor_ping.ping.id
}
output "http_monitor_id" {
description = "The ID of the HTTP Uptime Kuma monitor"
value = uptimekuma_monitor_http.http.id
}