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

View File

@@ -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
}
)
}