Hi I have a simple web app created with terraform, configured with vnet regional integration:
resource "azurerm_app_service" "app-indigo" {
name = "app-${var.environment}-${var.app_name}"
location = data.azurerm_resource_group.rg.location
resource_group_name = data.azurerm_resource_group.rg.name
app_service_plan_id = azurerm_app_service_plan.app-plan.id
site_config {
dotnet_framework_version = "v4.0"
}
resource "azurerm_app_service_virtual_network_swift_connection" "app-indigo-swift" {
app_service_id = azurerm_app_service.app-app.id
subnet_id = data.azurerm_subnet.subnet["integration"].id
}
no matter how I try to access the web app, from internal network or an application gateway, I get the following
You do not have permission to view this directory or page.
and this is the default web-app, no code deployed yet, I'd really appreciate any help here