How azure/terraform-azurerm-avm-ptn-alz-connectivity-hub-and-spoke-vnet works
This Terraform product deploys an Azure Landing Zones hub-and-spoke connectivity topology. Users provide configuration, Terraform provisions the network and related connectivity capabilities, and outputs expose deployed resource information. The README explicitly documents the hub-virtual-network-mesh submodule as consumed internally; source excerpts were unavailable, so other module wiring and detailed resource calls are not inferred.
Main entry points: main.tf Root deployment · hub-virtual-network-mesh/main.tf Hub mesh · virtual-network-gateway/main.tf Virtual network gateway · dns-resolver-policy/main.tf DNS resolver policy
Components 14
Configuration
- Root deployment
main.tf - Naming and locals
locals.tf
Network topology
- Hub mesh
modules/hub-virtual-network-mesh/main.tf - Firewall and routing
modules/hub-virtual-network-mesh/main.firewall.tf - NAT gateway
modules/hub-virtual-network-mesh/main.natgw.tf
Connectivity capabilities
- Virtual network gateway
modules/virtual-network-gateway/main.tf - DNS resolver policy
modules/dns-resolver-policy/main.tf - DNS resolver configuration
locals.dns_resolver.tf - Bastion configuration
locals.bastion.tf - DDoS configuration
locals.ddos.tf
Outputs and telemetry
- Deployment outputs
outputs.tf - Telemetry
main.telemetry.tf
Other components
- Module consumer
- Azure
Connections 8
- Module consumer → Root deployment: configures
- Root deployment → Naming and locals: uses settings
- Root deployment → Hub mesh: consumes module
- Hub mesh → Azure: deploys topology
- Virtual network gateway → Azure: deploys gateway
- DNS resolver policy → Azure: deploys policy
- Root deployment → Deployment outputs: exposes results
- Root deployment → Telemetry: configures telemetry