# Nested Directory in Azure Storage Share

**URL:** <https://discuss.hashicorp.com/t/nested-directory-in-azure-storage-share/12604>\
**Category:** Azure\
**Tags:** azure\
**Created:** [August 10, 2020, 3:06pm UTC](https://discuss.hashicorp.com/t/nested-directory-in-azure-storage-share/12604 "2020-08-10T15:06:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abhishekqwerty](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/abhishekqwerty/32/10349_2.png) [@Abhishekqwerty](https://discuss.hashicorp.com/u/Abhishekqwerty)\
**Post date:** [August 10, 2020, 3:06pm UTC](https://discuss.hashicorp.com/t/nested-directory-in-azure-storage-share/12604/1 "2020-08-10T15:06:30Z")

</div>

I want to create a nested directory in Azure file share and upload files to directories.  
I can only create one level directory in the Azure file share.

```
    resource "azurerm_storage_share_directory" "file_share_directories" {
      name = "email/user/img"   
      share_name = azurerm_storage_share.file_share.name
      storage_account_name = azurerm_storage_account.storage_account.name
      depends_on = [azurerm_storage_share.file_share]
}

```

Azure Terraform does not provide uploading files to a directory.

Can anyone please help me with this?
