Azure Virtual Network Gateway creation is super slow (50min+)

Hello,

I have noticed the creation of an Azure Virtual Network Gateway using Terraform resource azurerm_virtual_network_gateway is super slow.

It takes around 50min while in the Azure web portal, it seems only to take a few minutes. Also when I create the resource with Terraform, it looks it is created successfully even though it still shows Still creating… [25m20s elapsed] in Terraform console.

Has anyone experienced the same slowness issue?

resource "azurerm_virtual_network_gateway" "vng_1" {
  name                = "${var.tag_name}-${random_pet.name.id}-vng1"
  location            = azurerm_resource_group.resource_group_1.location
  resource_group_name = azurerm_resource_group.resource_group_1.name
  type                = "ExpressRoute"
  sku                 = "Standard"
  ip_configuration {
    name                          = "vnetGatewayConfig"
    public_ip_address_id          = azurerm_public_ip.public_ip_vng_1.id
    private_ip_address_allocation = "Dynamic"
    subnet_id                     = azurerm_subnet.subnet_gw.id
  }
  depends_on = [
    azurerm_public_ip.public_ip_vng_1,
    azurerm_subnet.subnet_gw
  ]
}

Thanks & Regards,
Romain