Skip to content

Commit

Permalink
Updated output URLs.
Browse files Browse the repository at this point in the history
  • Loading branch information
zawac002 committed Sep 11, 2023
1 parent 5c9cdbc commit b46c6da
Showing 1 changed file with 33 additions and 2 deletions.
35 changes: 33 additions & 2 deletions outputs.tf
Original file line number Diff line number Diff line change
@@ -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)
}

0 comments on commit b46c6da

Please sign in to comment.