diff --git a/azurerm/internal/services/recoveryservices/backup_protected_file_share_resource.go b/azurerm/internal/services/recoveryservices/backup_protected_file_share_resource.go index 6ce3299f38f4..16250455cda1 100644 --- a/azurerm/internal/services/recoveryservices/backup_protected_file_share_resource.go +++ b/azurerm/internal/services/recoveryservices/backup_protected_file_share_resource.go @@ -71,6 +71,7 @@ func resourceBackupProtectedFileShare() *schema.Resource { } func resourceBackupProtectedFileShareCreateUpdate(d *schema.ResourceData, meta interface{}) error { + protectedClient := meta.(*clients.Client).RecoveryServices.ProtectedItemsGroupClient protectableClient := meta.(*clients.Client).RecoveryServices.ProtectableItemsClient client := meta.(*clients.Client).RecoveryServices.ProtectedItemsClient opClient := meta.(*clients.Client).RecoveryServices.BackupOperationStatusesClient