You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guides/unity-catalog-azure.md
+44-47Lines changed: 44 additions & 47 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ page_title: "Unity Catalog set up on Azure"
4
4
5
5
# Deploying pre-requisite resources and enabling Unity Catalog (Azure Preview)
6
6
7
-
-> **Public Preview** This feature is in [Public Preview](https://docs.microsoft.com/en-us/azure/databricks/data-governance/unity-catalog). Contact your Databricks representative to request access.
7
+
-> **Public Preview** This feature is in [Public Preview](https://docs.microsoft.com/en-us/azure/databricks/data-governance/unity-catalog). Contact your Databricks representative to request access.
8
8
9
9
Databricks Unity Catalog brings fine-grained governance and security to Lakehouse data using a familiar, open interface. You can use Terraform to deploy the underlying cloud resources and Unity Catalog objects automatically, using a programmatic approach.
10
10
@@ -15,6 +15,7 @@ This guide uses the following variables in configurations:
15
15
This guide is provided as-is and you can use this guide as the basis for your custom Terraform module.
16
16
17
17
To get started with Unity Catalog, this guide takes you throw the following high-level steps:
18
+
18
19
-[Deploying pre-requisite resources and enabling Unity Catalog (Azure Preview)](#deploying-pre-requisite-resources-and-enabling-unity-catalog-azure-preview)
@@ -61,22 +62,20 @@ data "azurerm_databricks_workspace" "this" {
61
62
```hcl
62
63
terraform {
63
64
required_providers {
64
-
azurerm = {
65
-
source = "hashicorp/azurerm"
66
-
version = "~>2.99.0"
65
+
azapi = {
66
+
source = "azure/azapi"
67
67
}
68
-
azuread = {
69
-
source = "hashicorp/azuread"
70
-
version = "~>2.19.0"
68
+
azurerm = {
69
+
source = "hashicorp/azurerm"
71
70
}
72
71
databricks = {
73
72
source = "databricks/databricks"
74
73
}
75
74
}
76
75
}
77
76
78
-
provider "azuread" {
79
-
tenant_id = local.tenant_id
77
+
provider "azapi" {
78
+
subscription_id = local.subscription_id
80
79
}
81
80
82
81
provider "azurerm" {
@@ -90,22 +89,24 @@ provider "databricks" {
90
89
```
91
90
92
91
## Configure Azure objects
92
+
93
93
The first step is to create the required Azure objects:
94
+
94
95
- An Azure storage account, which is the default storage location for managed tables in Unity Catalog. Please use a dedicated account for each metastore.
95
-
-An AAD service principal that provides Unity Catalog permissions to access and manage data in the bucket.
96
+
-A Databricks Access Connector that provides Unity Catalog permissions to access and manage data in the storage account.
To work with external tables, Unity Catalog introduces two new objects to access and work with external cloud storage:
214
-
-[databricks_storage_credential](../resources/storage_credential.md) represent authentication methods to access cloud storage (e.g. an IAM role for Amazon S3 or a service principal for Azure Storage). Storage credentials are access-controlled to determine which users can use the credential.
215
-
-[databricks_external_location](../resources/external_location.md) are objects that combine a cloud storage path with a Storage Credential that can be used to access the location.
213
+
214
+
-[databricks_storage_credential](../resources/storage_credential.md) represent authentication methods to access cloud storage (e.g. an IAM role for Amazon S3 or a managed identity for Azure Storage). Storage credentials are access-controlled to determine which users can use the credential.
215
+
-[databricks_external_location](../resources/external_location.md) are objects that combine a cloud storage path with a Storage Credential that can be used to access the location.
Then create the [databricks_storage_credential](../resources/storage_credential.md) and [databricks_external_location](../resources/external_location.md) in Unity Catalog.
0 commit comments