File tree Expand file tree Collapse file tree 2 files changed +1
-14
lines changed Expand file tree Collapse file tree 2 files changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -56,14 +56,6 @@ resource "databricks_metastore_data_access" "this" {
56
56
is_default = true
57
57
}
58
58
59
- resource "databricks_metastore_assignment" "this" {
60
- count = anytrue ([var . create_metastore , length (var. external_metastore_id ) != 0 ]) ? 1 : 0
61
-
62
- workspace_id = var. workspace_id
63
- metastore_id = length (var. external_metastore_id ) == 0 ? databricks_metastore. this [0 ]. id : var. external_metastore_id
64
- default_catalog_name = " hive_metastore"
65
- }
66
-
67
59
# Catalog
68
60
resource "databricks_catalog" "this" {
69
61
for_each = anytrue ([var . create_metastore , length (var. external_metastore_id ) != 0 ]) ? var. catalog : {}
Original file line number Diff line number Diff line change @@ -19,16 +19,11 @@ variable "suffix" {
19
19
default = " "
20
20
}
21
21
22
- variable "workspace_id" {
23
- type = string
24
- description = " Id of Azure Databricks workspace"
25
- }
26
-
27
22
# Unity Catalog variables
28
23
variable "create_metastore" {
29
24
type = bool
30
25
description = " Boolean flag for Unity Catalog Metastore current in this environment. One Metastore per region"
31
- default = true
26
+ default = false
32
27
}
33
28
34
29
variable "access_connector_id" {
You can’t perform that action at this time.
0 commit comments