10 lines
464 B
Terraform
10 lines
464 B
Terraform
output "router_public_ip" {
|
|
description = "Public IP address of the server VM."
|
|
value = azurerm_public_ip.ext.ip_address
|
|
}
|
|
|
|
output "router_internal_ip" {
|
|
description = "Private IP address of the server's internal NIC - the next hop to use in routes configured outside this Terraform run (another route table, or an on-prem device) that need to reach remote_cidrs through this router."
|
|
value = azurerm_network_interface.int.private_ip_address
|
|
}
|