Skip to content

storage_account/file_share

Overview

This page documents the Terraform module implementation, key configuration surfaces, and how it integrates with CAF.

Dependency diagram (Mermaid)

graph TD azurerm_backup_container_storage_account.container["azurerm_backup_container_storage_account.container"] azurerm_backup_protected_file_share.fs_backup["azurerm_backup_protected_file_share.fs_backup"] azurerm_storage_share.fs["azurerm_storage_share.fs"] module.file_share_directory["module.file_share_directory"] module.file_share_file["module.file_share_file"] azurerm_backup_protected_file_share.fs_backup --> azurerm_backup_container_storage_account.container azurerm_backup_protected_file_share.fs_backup --> azurerm_storage_share.fs module.file_share_directory --> azurerm_storage_share.fs module.file_share_file --> azurerm_storage_share.fs module.file_share_file --> module.file_share_directory

Module Reference

Category: storage_account
Path: modules/storage_account/file_share
Azure Resources: azurerm_backup_container_storage_account, azurerm_backup_protected_file_share, azurerm_storage_share

Inputs

Name Description Type Required Default Validation
"settings" "The settings for the Azure resource." any yes - -
"storage_account_name" any yes - -
"storage_account_id" any yes - -
"recovery_vault" any no {} -
"resource_group_name" any no "" -

Outputs

Name Description Sensitive Value
"id" "The ID of the File Share" - azurerm_storage_share.fs.id
"name" "The URL of the File Share" - azurerm_storage_share.fs.name
"url" "The URL of the File Share" - azurerm_storage_share.fs.url
"file_share_directories" "Output of directories in the file share" - module.file_share_directory

Sources

  • modules/storage_account/file_share/file_share.tf
  • modules/storage_account/file_share/outputs.tf
  • modules/storage_account/file_share/share_directory.tf
  • modules/storage_account/file_share/share_file.tf
  • modules/storage_account/file_share/variables.tf