Added VPN GW and Tunnel modules.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
output "ip" {
|
||||
value = var.vpn_external_ip != null ? data.google_compute_address.vpn_ip[0].address : google_compute_address.vpn_ip[0].address
|
||||
}
|
||||
|
||||
output "network_name" {
|
||||
value = var.network_name
|
||||
}
|
||||
|
||||
output "id" {
|
||||
value = google_compute_vpn_gateway.gw.id
|
||||
}
|
||||
|
||||
output "name" {
|
||||
value = google_compute_vpn_gateway.gw.name
|
||||
}
|
||||
Reference in New Issue
Block a user