Skip to content

Commit

Permalink
Add regional PSC addresses to output
Browse files Browse the repository at this point in the history
  • Loading branch information
wiktorn committed May 24, 2024
1 parent 439e9a1 commit a3295ae
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions modules/net-address/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,14 @@ output "psa_addresses" {

output "psc_addresses" {
description = "Allocated internal addresses for PSC endpoints."
value = {
for address in google_compute_global_address.psc :
address.name => address
}
value = merge(
{
for address in google_compute_global_address.psc :
address.name => address
},
{
for address in google_compute_address.psc :
address.name => address
}
)
}

0 comments on commit a3295ae

Please sign in to comment.