Skip to content

App services do not use Azure files

Description

The content directory of an app service should be located on an Azure file share. The storage account information for the file share must be provided before any publishing activity.

Fix - Buildtime

Terraform

  • Resource: azurerm_app_service
  • Argument: storage_account.type
resource "azurerm_app_service" "example" {
              ...
 +            storage_account {
                name = "test_name"
 +              type = "AzureFiles"
                ...
                }
              }