Skip to content

Commit c18aa82

Browse files
authored
Fixed minor errors in Unity Catalog docs (#1626)
* Fixed errors in docs * Fixed Azure SPOT and elastic disk * Added fallback on SPOT_AZURE configuration
1 parent 7adb6d4 commit c18aa82

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

docs/guides/unity-catalog-azure.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
page_title: "Unity Catalog set up on Azure"
33
---
44

5-
# Deploying pre-requisite resources and enabling Unity Catalog (Azure Preview)
5+
# Deploying pre-requisite resources and enabling Unity Catalog
66

77
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.
88

@@ -14,7 +14,7 @@ This guide is provided as-is and you can use this guide as the basis for your cu
1414

1515
To get started with Unity Catalog, this guide takes you throw the following high-level steps:
1616

17-
- [Deploying pre-requisite resources and enabling Unity Catalog (Azure Preview)](#deploying-pre-requisite-resources-and-enabling-unity-catalog-azure-preview)
17+
- [Deploying pre-requisite resources and enabling Unity Catalog](#deploying-pre-requisite-resources-and-enabling-unity-catalog)
1818
- [Provider initialization](#provider-initialization)
1919
- [Configure Azure objects](#configure-azure-objects)
2020
- [Create a Unity Catalog metastore and link it to workspaces](#create-a-unity-catalog-metastore-and-link-it-to-workspaces)
@@ -276,8 +276,9 @@ resource "databricks_grants" "external_creds" {
276276
resource "databricks_external_location" "some" {
277277
name = "external"
278278
url = format("abfss://%s@%s.dfs.core.windows.net/",
279-
azurerm_storage_account.ext_storage.name,
280-
azurerm_storage_container.ext_storage.name)
279+
azurerm_storage_container.ext_storage.name,
280+
azurerm_storage_account.ext_storage.name)
281+
281282
credential_name = databricks_storage_credential.external.id
282283
comment = "Managed by TF"
283284
depends_on = [
@@ -350,10 +351,9 @@ resource "databricks_cluster" "dev" {
350351
spark_version = data.databricks_spark_version.latest.id
351352
node_type_id = data.databricks_node_type.smallest.id
352353
autotermination_minutes = 10
353-
enable_elastic_disk = false
354354
num_workers = 2
355355
azure_attributes {
356-
availability = "SPOT"
356+
availability = "SPOT_WITH_FALLBACK_AZURE"
357357
}
358358
data_security_mode = "SINGLE_USER"
359359
single_user_name = each.value.user_name

docs/guides/unity-catalog.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
page_title: "Unity Catalog set up on AWS"
33
---
44

5-
# Deploying pre-requisite resources and enabling Unity Catalog (AWS Preview)
5+
# Deploying pre-requisite resources and enabling Unity Catalog
66

77
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.
88

@@ -17,7 +17,7 @@ This guide is provided as-is and you can use this guide as the basis for your cu
1717

1818
To get started with Unity Catalog, this guide takes you throw the following high-level steps:
1919

20-
- [Deploying pre-requisite resources and enabling Unity Catalog (AWS Preview)](#deploying-pre-requisite-resources-and-enabling-unity-catalog-aws-preview)
20+
- [Deploying pre-requisite resources and enabling Unity Catalog](#deploying-pre-requisite-resources-and-enabling-unity-catalog)
2121
- [Provider initialization](#provider-initialization)
2222
- [Configure AWS objects](#configure-aws-objects)
2323
- [Create users and groups](#create-users-and-groups)

docs/resources/cluster.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ resource "databricks_cluster" "this" {
346346
max_workers = 50
347347
}
348348
azure_attributes {
349-
availability = "SPOT_AZURE"
349+
availability = "SPOT_WITH_FALLBACK_AZURE"
350350
first_on_demand = 1
351351
spot_bid_max_price = 100
352352
}

0 commit comments

Comments
 (0)