@@ -6,8 +6,7 @@ This module provides an ability for Databricks Workspace configuration and Resou
6
6
1 . Default Shared Autoscaling cluster
7
7
2 . ADLS Gen2 Mount
8
8
3 . Secret scope and its secrets
9
- 4 . Cluster policies
10
- 5 . Users for Standard SKU Worspaces
9
+ 4 . Users for Standard SKU Worspaces
11
10
12
11
``` hcl
13
12
# Prerequisite resources
@@ -38,10 +37,10 @@ data "azurerm_storage_account" "example" {
38
37
module "databricks_runtime_core" {
39
38
source = "data-platform-hq/databricks-runtime/databricks"
40
39
41
- sku = "premium "
40
+ sku = "standard "
42
41
workspace_id = data.azurerm_databricks_workspace.example.workspace_id
43
42
44
- # This parameter only used when workspace wku equals 'standard'
43
+ # Databricks user
45
44
users = ["user1", "user2"]
46
45
47
46
# Parameters of Service principal used for ADLS mount
@@ -51,23 +50,6 @@ module "databricks_runtime_core" {
51
50
sp_key_secret_name = "sp-key" # secret's name that stores Service Principal Secret Key
52
51
tenant_id_secret_name = "infra-arm-tenant-id" # secret's name that stores tenant id value
53
52
54
- # Default cluster parameters
55
- custom_default_cluster_name = "databricks_example_custer"
56
- cluster_nodes_availability = "SPOT_AZURE" # it required to increase Regional Spot quotas
57
- cluster_log_conf_destination = "dbfs:/cluster-logs"
58
- custom_cluster_policies = [{
59
- name = "custom_policy_1",
60
- assigned = true,
61
- can_use = null,
62
- definition = {
63
- "autoscale.max_workers": {
64
- "type": "range",
65
- "maxValue": 3,
66
- "defaultValue": 2
67
- },
68
- }
69
- }]
70
-
71
53
# Additional Secret Scope
72
54
secret_scope = [{
73
55
scope_name = "extra-scope"
0 commit comments