Add support for PSC network attachments and interfaces in modules (#2125)

* support network attachments in net-vpc module

* support network attachments in net-address module

* fix examples

* fix examples

* add support for psc interfaces to compute-vm module
This commit is contained in:
Ludovico Magnocavallo
2024-03-04 10:12:11 +01:00
committed by GitHub
parent ef19524b0b
commit da68d3cfc4
13 changed files with 341 additions and 42 deletions

View File

@@ -46,6 +46,14 @@ output "ipsec_interconnect_addresses" {
}
}
output "network_attachment_ids" {
description = "IDs of network attachments."
value = {
for k, v in google_compute_network_attachment.default :
k => v.id
}
}
output "psa_addresses" {
description = "Allocated internal addresses for PSA endpoints."
value = {
@@ -60,4 +68,4 @@ output "psc_addresses" {
for address in google_compute_global_address.psc :
address.name => address
}
}
}