Ensure all modules have an id output (#1410)

* net-vpc

* a-d

* complete modules

* fix error
This commit is contained in:
Ludovico Magnocavallo
2023-06-02 16:07:22 +02:00
committed by GitHub
parent f069562998
commit 884cb8b4bf
91 changed files with 365 additions and 192 deletions

View File

@@ -52,11 +52,12 @@ module "vpn" {
|---|---|:---:|
| [address](outputs.tf#L17) | VPN gateway address. | |
| [gateway](outputs.tf#L22) | VPN gateway resource. | |
| [name](outputs.tf#L27) | VPN gateway name. | |
| [random_secret](outputs.tf#L32) | Generated secret. | |
| [self_link](outputs.tf#L37) | VPN gateway self link. | |
| [tunnel_names](outputs.tf#L42) | VPN tunnel names. | |
| [tunnel_self_links](outputs.tf#L50) | VPN tunnel self links. | |
| [tunnels](outputs.tf#L58) | VPN tunnel resources. | |
| [id](outputs.tf#L27) | Fully qualified VPN gateway id. | |
| [name](outputs.tf#L32) | VPN gateway name. | |
| [random_secret](outputs.tf#L37) | Generated secret. | |
| [self_link](outputs.tf#L42) | VPN gateway self link. | |
| [tunnel_names](outputs.tf#L47) | VPN tunnel names. | |
| [tunnel_self_links](outputs.tf#L55) | VPN tunnel self links. | |
| [tunnels](outputs.tf#L63) | VPN tunnel resources. | |
<!-- END TFDOC -->

View File

@@ -24,6 +24,11 @@ output "gateway" {
value = google_compute_vpn_gateway.gateway
}
output "id" {
description = "Fully qualified VPN gateway id."
value = google_compute_vpn_gateway.gateway.id
}
output "name" {
description = "VPN gateway name."
value = google_compute_vpn_gateway.gateway.name