From b46c6da7ae8bdf6a7d0771aeffd9b1fcf677a391 Mon Sep 17 00:00:00 2001 From: Anthony Zawacki Date: Mon, 11 Sep 2023 13:21:22 -0400 Subject: [PATCH] Updated output URLs. --- outputs.tf | 35 +++++++++++++++++++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) 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) +} +