init: add initial code
This commit is contained in:
+19
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user