Skip to content

Commit

Permalink
fix: output for lnd ips
Browse files Browse the repository at this point in the history
  • Loading branch information
sandipndev committed May 30, 2024
1 parent d568204 commit 9be6d79
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions modules/platform/gcp/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@ output "cluster_location" {
}

output "lnd1_ip" {
value = google_compute_address.lnd1.address
value = local.deploy_lnd_ips ? google_compute_address.lnd1[0].address : ""
}

output "lnd2_ip" {
value = google_compute_address.lnd2.address
value = local.deploy_lnd_ips ? google_compute_address.lnd2[0].address : ""
}

output "lnd1_internal_ip" {
value = google_compute_address.lnd1_internal_ip.address
value = local.deploy_lnd_ips ? google_compute_address.lnd1_internal_ip[0].address : ""
}

output "lnd2_internal_ip" {
value = google_compute_address.lnd2_internal_ip.address
value = local.deploy_lnd_ips ? google_compute_address.lnd2_internal_ip[0].address : ""
}

output "shared_pg_host" {
Expand Down

0 comments on commit 9be6d79

Please sign in to comment.