Currently deploying the Databricks worksapce using Azure CLI,
function Create-Databricks {
param (
[string] $rgName,
[string] $dbName
)
az databricks workspace create --resource-group $rgName --name $dbName --location westeurope --output none
}
But I would like to enable this worksapace for Unity Catalog and also delpoy 1 external storage account.
how can I do this?
2
In your use case, Databricks CLI will work better as it’s custom-developed for their platform.
Please make sure you have the latest version of Databricks CLI >= v0.220.0
https://docs.databricks.com/en/dev-tools/cli/install.html
databricks workspace-bindings update-bindings storage-credential <my-storage-credential>
--json '{
"add": [{"workspace_id": <workspace-id>}...],
}' --profile <profile-name>
For more info: https://learn.microsoft.com/en-us/azure/databricks/connect/unity-catalog/storage-credentials#cli
1