diff --git a/outputs.tf b/outputs.tf index c105e07..5c57557 100644 --- a/outputs.tf +++ b/outputs.tf @@ -1,5 +1,36 @@ output "private_url" { - description = "The endpoint which can be used inside of the cluster to access loki." - value = format("http://loki.%v.svc.cluster.local", local.ns) + description = "The endpoint which can be used inside of the cluster to access loki-backend." + value = format("http://loki-backend.%v.svc.cluster.local", local.ns) } + +output "headless_private_url" { + description = "The endpoint which can be used inside of the cluster to access headless-loki-backend." + value = format("http://loki-backend-headless.%v.svc.cluster.local", local.ns) +} + +output "gateway_private_url" { + description = "The endpoint which can be used inside of the cluster to access loki-gateway." + value = format("http://loki-backend-headless.%v.svc.cluster.local", local.ns) +} + +output "read_headless_private_url" { + description = "The endpoint which can be used inside of the cluster to access loki-read-headless." + value = format("http://loki-read-headless.%v.svc.cluster.local", local.ns) +} + +output "read_private_url" { + description = "The endpoint which can be used inside of the cluster to access loki-read." + value = format("http://loki-read.%v.svc.cluster.local", local.ns) +} + +output "write_headless_private_url" { + description = "The endpoint which can be used inside of the cluster to access loki-write-headless." + value = format("http://loki-write-headless.%v.svc.cluster.local", local.ns) +} + +output "write_private_url" { + description = "The endpoint which can be used inside of the cluster to access loki-write." + value = format("http://loki-write.%v.svc.cluster.local", local.ns) +} +