Azure / terraform-azurerm-caf-enterprise-scale

Azure landing zones Terraform module
https://aka.ms/alz/tf
MIT License
856 stars 564 forks source link

Upgrade path from Hub and Spoke to VWAN #915

Open ashley-kainos opened 7 months ago

ashley-kainos commented 7 months ago

Community Note

Description

We have a few customers that have deployed ALZ using hub and spoke and are now wanting to upgrade to VWAN. There is the upgrade path https://learn.microsoft.com/en-us/azure/virtual-wan/migrate-from-hub-spoke-topology but this is just the steps it would be good to know how to do this within ALZ using IaC

Is your feature request related to a problem?

hard to understand how to do upgrade via IaC

Describe the solution you'd like

Clear documentation on how to upgrade to VWAN using IaC and the ALZ module

Additional context

jtracey93 commented 6 months ago

Hey @ashley-kainos,

Thanks for the issue/question.

There is no easy migration path as the doc you referenced explains. You could try to use the caf-enterprise-scale module to do a deployment of the VWAN alongside hub and spoke but I wouldn't advise that based on the direction of this module as explained in https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/issues/731.

Instead I would deploy the VWAN using the AVM Pattern Module for VWAN thats available here https://registry.terraform.io/modules/Azure/avm-ptn-virtualwan/azurerm/latest.

You can see the direction we are heading in the example here:

Note the new ALZ AVM module is not ready for production use yet, but the VWAN module is, and thats the part you want 👍

Hope that helps

Thanks

Jack