We encounter an issue when we try to deploy to an existing environment.
When we try to deploy to an existing Subnet and Vnet, which also has a GatewaySubnet in place, an error occurs:
{
"status": "Failed",
"error": {
"code": "InUseSubnetCannotBeDeleted",
"message": "Subnet GatewaySubnet is in use by /subscriptions/bla-bla-bla/resourceGroups/BA-RGR-EU01/providers/Microsoft.Network/virtualNetworkGateways/VnetGateway/ipConfigurations/default and cannot be deleted. In order to delete the subnet, delete all the resources within the subnet. See aka.ms/deletesubnet.",
"details": []
}
}
Tried in multiple different scenarios but cannot seem to solve this.
Has anyone got a solution for this?
We encounter an issue when we try to deploy to an existing environment. When we try to deploy to an existing Subnet and Vnet, which also has a GatewaySubnet in place, an error occurs:
Tried in multiple different scenarios but cannot seem to solve this. Has anyone got a solution for this?
Thanks for your help!