title: Error creating Azure Synapse Pool with Terraform
body: <p>I am simply attempting to create an Azure Synapse Analytics Pool with Terraform. I can create just about every other resource I need, but the creation of the FileSystem in the storage account is causing issues (I need a filesystem because synapse pool needs a workspace which needs a filesystem). I am getting the error as below:
  <a href="https://i.stack.imgur.com/tnAU5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tnAU5.png" alt="enter image description here" /></a></p>
  <p>Below is my  script, has anyone done this successfully?:</p>
  <pre><code># Configure the Microsoft Azure Provider.
  terraform {
    required_providers {
      azurerm = {
        source = &quot;hashicorp/azurerm&quot;
        version = &quot;&gt;= 2.26&quot;
      }
    }
  }
  
  provider &quot;azurerm&quot; {
    features {}
  }
  
  
  # Create a resource group
  resource &quot;azurerm_resource_group&quot; &quot;rg&quot; {
    name     = &quot;kjTEST&quot;
    location = &quot;eastus&quot;
  }
  
  
  
  #** Storage account ** will most likely replace with references to existing storage accounts
  resource &quot;azurerm_storage_account&quot; &quot;storage&quot; {
    name                     = &quot;kjastoragetest&quot;
    resource_group_name      = azurerm_resource_group.rg.name
    location                 = azurerm_resource_group.rg.location
    account_tier             = &quot;Standard&quot;
    is_hns_enabled           = &quot;true&quot;
    account_replication_type = &quot;LRS&quot;
    account_kind             = &quot;StorageV2&quot;
  }
  
  resource &quot;azurerm_storage_container&quot; &quot;container&quot; {
    name                  = &quot;testcontainer&quot;
    storage_account_name  = azurerm_storage_account.storage.name
    container_access_type = &quot;blob&quot;
  }
  
  # File system
  resource &quot;azurerm_storage_data_lake_gen2_filesystem&quot; &quot;filesystem&quot; {
    name               = &quot;filesystem&quot;
    storage_account_id = azurerm_storage_account.storage.id
  }
  
  # Synapse 
  resource &quot;azurerm_synapse_workspace&quot; &quot;workspace&quot; {
    name                                 = &quot;example&quot;
    resource_group_name                  = azurerm_resource_group.rg.name
    location                             = azurerm_resource_group.rg.location
    storage_data_lake_gen2_filesystem_id = azurerm_storage_data_lake_gen2_filesystem.filesystem.id
    sql_administrator_login              = &quot;usnername89&quot;
    sql_administrator_login_password     = &quot;########&quot;
  }
  
  # 
  resource &quot;azurerm_synapse_sql_pool&quot; &quot;synapsepool&quot; {
    name                 = &quot;kjatestsqlpool&quot;
    synapse_workspace_id = azurerm_synapse_workspace.workspace.id
    sku_name             = &quot;DW100c&quot;
    create_mode          = &quot;Default&quot;
  }
  </code></pre>