Skip to content

Commit

Permalink
fix: Add module outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzalezzfelipe committed Jan 29, 2025
1 parent 14d8957 commit 9b2e162
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions bootstrap/output.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
output "load_balancer_urls" {
value = {
"cardano-mainnet" : try(module.proxies["cardano-mainnet"].load_balancer_url, null)
"cardano-preprod" : try(module.proxies["cardano-preprod"].load_balancer_url, null)
"cardano-preview" : try(module.proxies["cardano-preview"].load_balancer_url, null)
}
}
3 changes: 3 additions & 0 deletions bootstrap/proxy/output.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
output "load_balancer_url" {
value = kubernetes_service_v1.proxy_service.status.0.load_balancer.0.ingress.0.hostname
}

0 comments on commit 9b2e162

Please sign in to comment.