Skip to content

Commit

Permalink
azurerm_backup_protected_file_share supplement doc: add depends_on
Browse files Browse the repository at this point in the history
…for adding a protected item to a pre-e… (#13955)
  • Loading branch information
sinbai authored Nov 2, 2021
1 parent 4eaf7e7 commit f7bbeb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/r/backup_protected_file_share.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ The following arguments are supported:

* `source_storage_account_id` - (Required) Specifies the ID of the storage account of the file share to backup. Changing this forces a new resource to be created.

-> **NOTE** The storage account must already be registered with the recovery vault in order to backup shares within the account. You can use the `azurerm_backup_container_storage_account` resource or the [Register-AzRecoveryServicesBackupContainer PowerShell cmdlet](https://docs.microsoft.com/en-us/powershell/module/az.recoveryservices/register-azrecoveryservicesbackupcontainer?view=azps-3.2.0) to register a storage account with a vault.
-> **NOTE** The storage account must already be registered with the recovery vault in order to backup shares within the account. You can use the `azurerm_backup_container_storage_account` resource or the [Register-AzRecoveryServicesBackupContainer PowerShell cmdlet](https://docs.microsoft.com/en-us/powershell/module/az.recoveryservices/register-azrecoveryservicesbackupcontainer?view=azps-3.2.0) to register a storage account with a vault. When using the `azurerm_backup_container_storage_account` resource to register, you can use `depends_on` to explicitly declare the dependency. It will make sure that the registration is completed before creating the `azurerm_backup_protected_file_share` resource.

* `source_file_share_name` - (Required) Specifies the name of the file share to backup. Changing this forces a new resource to be created.

Expand Down

0 comments on commit f7bbeb1

Please sign in to comment.