Error deploying Azure Virtual Network Gateway sku = "VpnGw1AZ"

I’m trying to deploy an Azure Virtual Network Gateway but I receive an error

Code:

######## Virtual Network Gateway ################

resource “azurerm_public_ip” “publicip” {
name = “ip-public01”
location = “westeurope”
resource_group_name = “JMD_02”

allocation_method = “Static”
sku=“Standard”

}
resource “azurerm_virtual_network_gateway” “VNG” {
name = “VGW-VPN-002”
location = “westeurope”
resource_group_name = “JMD_02”

type = “Vpn”
vpn_type = “RouteBased”
active_active = false
enable_bgp = false
sku = “VpnGw1AZ”
generation = “Generation1”

ip_configuration {
name = “vnetGatewayConfig”
public_ip_address_id = azurerm_public_ip.publicip.id
private_ip_address_allocation = “Dynamic”
subnet_id = azurerm_subnet.VGW.id
}

}

Error:

Error: Creating/Updating Virtual Network Gateway: (Name “VGW-VPN-002” / Resource Group “JMD_02”): network.VirtualNetworkGatewaysClient#CreateOrUpdate: Failure sending request: StatusCode=400 – Original Error: Code=“VmssVpnGatewayPublicIpsMustHaveZonesConfigured” Message=“Standard Public IPs associated with VPN Gateways with AZ VPN skus must have zones configured.” Details=

I can’t find any topic related to that issue