Closed sstjean closed 2 months ago
lOOKS LIKE WE NEED TO GO INTO THE mANAGEMENT_SPOKE CODE AND ADD A TIMER DELAY ON THE PEERING WAITING FOR SUBNETS TO BE CREATED. Looks like we need to go into the Management Spoke code and add a Timer delay on the peering so that it waits for the subnets to be created. There is example code in the DMZ Spoke Overlay.
resource "time_sleep" "wait_for_subnets"{
depends_on = [azurerm_subnet.default_snet, data.azurerm_virtual_network.hub_vnet]
create_duration = "60s"
}
The Landing Zone Starter will fail when a spoke is defined with more than one subnet with an error that the peering can't be completed because the VNet is still updating subnets.
This issue is for a: (mark with an
x
)Minimal steps to reproduce
Any log messages given by the failure
Expected/desired behavior
OS and Version?
Versions
Mention any other details that might be useful