# Create logic app workflow
       resource "azurerm_logic_app_workflow" "workflw" {
          name                = "devtest-workflw"
          location            = azurerm_resource_group.logic.location
          resource_group_name = azurerm_resource_group.logic.name
        }
# Create a storage account
    module "storage_account" {
      source                                = "../.."
      version                               = "2.0.0"
      resource_group_name                   = azurerm_resource_group.logic.name
      resource_group_location               = var.region
      environment                           = "dev"
      product                               = "demo"
      virtual_network_subnet_ids            = [module.subnet_services.subnet_id]
      account_tier                          = "Standard"
      account_kind                          = "StorageV2"
      account_replication_type              = "ZRS"
      file_private_dns_zone_name            = "privatelink.file.core.windows.net"
      private_dns_zone_resource_group_name  = "hub-privatedns-rg"
      storage_account_file_private_dns_zone_id = var.storage_account_file_private_dns_zone_id
      
      use_file_private_endpoint             = true
      private_endpoint_subnet_id            = module.subnet_services.subnet_id
    
      tags                                  = local.tags
      ip_rules                              = ["0.0.0.0 ", "0.0.0.0 "]
    }
resource "azurerm_storage_share" "share" {
      name                 = "devtest-share"
      storage_account_name = module.storage_account.name
      quota                = 50
    }
    
    resource "azurerm_logic_app_standard" "standard" {
      name                       = "dev-logicstand"
      location                   = azurerm_resource_group.logic.location
      resource_group_name        = azurerm_resource_group.logic.name
      app_service_plan_id        = azurerm_service_plan.aseasp.id
      storage_account_name       = module.storage_account.name
      storage_account_access_key = module.storage_account.primary_access_key
     }
     resource "azurerm_app_service_virtual_network_swift_connection" 
      "swift_connect" {
       app_service_id = azurerm_linux_web_app.as.id
       subnet_id      = module.subnet_services.subnet_id
     }
Error: creating Logic App Standard: (Site Name "dev-logicstand" / Resource Group "dev-logicapp-rg"): web.AppsClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code="BadRequest" Message="Creation of storage file share failed with: 'The remote server returned an error: (403) Forbidden.'. Please check if the storage account is accessible." Details=[{"Message":"Creation of storage file share failed with: 'The remote server returned an error: (403) Forbidden.'. Please check if the storage account is accessible."},{"Code":"BadRequest"},{"ErrorEntity":{"Code":"BadRequest","ExtendedCode":"99022","Message":"Creation of storage file share failed with: 'The remote server returned an error: (403) Forbidden.'. Please check if the storage account is accessible.","MessageTemplate":"Creation of storage file share failed with: '{0}'. Please check if the storage account is accessible.","Parameters":["The remote server returned an error: (403) Forbidden."]}}]
on LogicApp.tf line 48, in resource "azurerm_logic_app_standard" "standard": 48: resource "azurerm_logic_app_standard" "standard" {
 
    