-
Notifications
You must be signed in to change notification settings - Fork 568
Description
Describe the feature end to end, including deployment scenario details under which the feature would occur.
We need a method where we can ensure that ExpressRoute Connections are not removed when redeploying our code, when using the vwanConnectivity module.
After we have deployed an Azure vWAN infrastructure via vwanConnectivity, we may use the hubPeeredSpoke orchestration module or some other method to peer vNets to our vWAN. When we redeploy the vwanConnectivity code , peering to our vNets does not get removed and network connectivity remains active between spokes during the deployment process.
In a production environment, we'd expect the expressRouteConnections should survive an updated deployment that does not explicitly nullify the connections. There should be a similar type of continuity for the ExpressRoute Connections.
Why is this feature important. Describe why this would be important for your organization and others. Would this impact similar orgs in the same way?
Our infrastructure includes the use of the vwanConnectivity module, deploying a vWAN Virtual Hub along with an ExpressRoute Gateway.
When redeploying our code, ExpressRoute Connections which have been added to our ExpressRoute Gateway get removed. This appears to occur because the resErGateway resource does not include the expressRouteConnections parameter.
Even if we decide to deploy an expressRouteConnections resource in subsequent code, the initial deploy of vwanConnectivity module will cause down-time between Azure and our ExpressRoute sites until the expressRouteConnections is deployed.
We need to be able to deploy updates to our vWAN environment via IaC without causing this kind of unnecessary downtime. This may be similar, or related to the issue discussed in #727 .
The VPN Gateway may benefit from a similar enhancement as well.
Can you describe any alternatives that you have taken since this feature does not exist?
Using a read only Resource Lock on the ExpressRoute Gateway will successfully prevent the removal of the Connections, but the deployment may otherwise fail due to the lock.
Feature Implementation
- We could potentially provide the expressRouteConnections parameter on the Hub object and pass it to the ExpressRoute Gateway. Although I am not sure if a scenario like this could improperly involve a reference loop.
- Some other Flag or Switch that would alter logic in the vwanConnectivity module, potentially reference the existing ExpressRoute Gateway?
Check previous GitHub issues
- I have searched the issues for this item and found no duplicate
Code of Conduct
- I agree to follow this project's Code of Conduct