Automating IPSec Connections: Retrieving vWAN Hub Public IP with Terraform
Itay Alayoff
0
Reputation points
I want to implement a Terraform module to create an IPSec connection between a vWAN Hub and my on-premises site. To automate this process, I need to retrieve the public IP address of the vWAN Hub.
Is it possible to retrieve the hub's public IP using Terraform?
For context, I have already created the following resources via Terraform:
azurerm_vpn_site
azurerm_vpn_gateway
azurerm_vpn_gateway_connection
Azure Virtual WAN
Azure Virtual WAN
An Azure virtual networking service that provides optimized and automated branch-to-branch connectivity.
Azure VPN Gateway
Azure VPN Gateway
An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.
Sign in to answer