Create app service plan in app service environment (ASE) takes forever

When i try to provision an app service plan in an ASE (also deployed with TF) it takes more then a hour to complete and it then it fails because it took to much time.
This is the code that I use:

resource “azurerm_app_service_plan” “service-plan” {
name = “asp-lnx-01”
location = var.shared_resource_group_location
resource_group_name = var.shared_resource_group_name
kind = “Linux”
reserved = true
app_service_environment_id = var.app_service_environment_id
sku {
tier = “Isolated”
size = “I1”
capacity = “1”