Files

10 lines
474 B
Terraform

output "router_public_ip" {
description = "Public IP address of the router VM."
value = google_compute_address.ext.address
}
output "router_internal_ip" {
description = "Private IP address of the router's internal NIC - the next hop to use in routes configured outside this Terraform run (another route, or an on-prem device) that need to reach remote_cidrs through this router."
value = google_compute_instance.router.network_interface[1].network_ip
}