Add regional PSC addresses to output

This commit is contained in:
Wiktor Niesiobędzki 2024-05-24 09:26:17 +00:00 committed by Wiktor Niesiobędzki
parent 439e9a1af9
commit a3295ae731
1 changed files with 10 additions and 4 deletions

View File

@ -64,8 +64,14 @@ output "psa_addresses" {
output "psc_addresses" {
description = "Allocated internal addresses for PSC endpoints."
value = {
value = merge(
{
for address in google_compute_global_address.psc :
address.name => address
},
{
for address in google_compute_address.psc :
address.name => address
}
)
}