Skip to content

Add a region

A second region is a sibling region folder with its own region.hcl, and the units that are regional: one hub per region, and the spokes and workloads that live there. The foundation does not change.

There is no example folder: copy the connectivity example you deployed into the new region folder, and the landing zone's westeurope/ folder into a sibling.

The tree you add

live/platform/connectivity/
├── subscription.hcl
├── env.hcl
├── westeurope/
│   ├── region.hcl
│   └── caf-connectivity-hub/
└── northeurope/                    # new
    ├── region.hcl                  # location = "northeurope", location_short = "neu"
    └── caf-connectivity-hub/       # a copy of the first hub's two files

live/landingzones/corp/corp-app-prod/
├── ...
├── westeurope/
└── northeurope/                    # new
    ├── region.hcl
    └── network/                    # a copy, with its own address space

Nothing in a unit names its region: local.context.location and local.context.location_short come from region.hcl, so the copied files produce rg-hub-neu, vnet-hub-neu and a second state key without edits. Two things do need editing: the hub's address space, and the spoke's.

What multiplies and what does not

Multiplies per region Stays global
The hub, its firewall and its DNS zones The management group hierarchy and policy
The spokes and their peerings The Log Analytics workspace, the data collection rules, the AMA identity
Workload units The AMBA policy; its alert rules land wherever the resources are

location on the two foundation policy modules only picks the region for their managed identities. The one regional decision in the foundation is the Log Analytics workspace, and the template keeps a single central workspace, the ALZ single-pane default. Move it to platform/management/<region>/management-resources/ only when data residency requires it; see the foundation units.

Connecting the hubs

  • Hub and spoke. The hub module meshes hubs it creates in the same unit. Two units means two separate hubs; add a global peering between them in the second hub's unit, by the first hub's resource id derived by convention.
  • Virtual WAN. Add a second virtual_hubs entry to the existing caf-connectivity-vwan unit instead of a second unit. Virtual WAN hubs under one Virtual WAN route to each other without further configuration, which is the main reason to pick that scenario when a second region is likely.

What people get wrong

  • Copying subscription.hcl into the region folder. It belongs one level up. The region folder holds region.hcl and units only.
  • Overlapping hub address spaces. Give the second hub its own /16.
  • Expecting AMBA to need a change. It does not. The policy's deploy-if-not-exists follows the resources.