Closed starkilla2003 closed 10 months ago
Hello, would like to provide some information that may help identify the problem: I noticed that there is a line in an ARM template (line 555) that specifies a Public IP with a Basic SKU.
"sku": {
"name": "Basic",
"tier": "Regional"
}
This is used then in the deployment of the VNET Gateway with Standard SKU [parameters('GatewaySku')], which can lead to the above error.
"name": "[variables('GatewayName')]",
"location": "[parameters('Location')]",
"properties": {
"gatewayType": "ExpressRoute",
"sku": {
"name": "[parameters('GatewaySku')]",
"tier": "[parameters('GatewaySku')]"
},
"ipConfigurations": [
{
"name": "default",
"properties": {
"privateIPAllocationMethod": "Dynamic",
"subnet": {
"id": "[resourceId('Microsoft.Network/virtualNetworks/subnets', variables('VNetName'), 'GatewaySubnet')]"
},
"publicIPAddress": {
"id": "[resourceId('Microsoft.Network/publicIPAddresses', format('{0}-PIP', variables('GatewayName')))]"
}
The issue seems to also be present in the Bicep part of the Greenfield deployment. Also when changing the SKU to Standard the IP also needs to be static.
Thanks a lot @starkilla2003 and @demirsenturk for detecting this issue. You are 100% correct. This is a recent change in Azure as you see here: https://learn.microsoft.com/en-us/azure/expressroute/expressroute-howto-add-gateway-portal-resource-manager
I will make sure to fix this problem.
cc: @michielvanschaik, @sblair01 please see this pull request: https://github.com/Azure/Enterprise-Scale-for-AVS/pull/291
Thank you @starkilla2003 and @demirsenturk for detecting the issue and @husamhilal for creating the pull request.
cc: @sblair01
Perfect, thanks @michielvanschaik!
@starkilla2003, @demirsenturk as your time permits, can you confirm that this change addressed your concern?
Also, please feel free to provide any addition feedback for issues or new features. We're happy to improve the AVS LZA 🙂
@husamhilal everything works as expected now! thank you for your effort!
The deployment is not deploying a virtual network gateway because the following error:
"Basic IP configuration for ExpressRoute Virtual Network Gateways is not supported. Please create and associate a Standard IP. "
The deployment type used was the ARM deployment.