Skip to content

Commit 4fb6dbc

Browse files
authored
fix: removed assignment resource
1 parent dde43f3 commit 4fb6dbc

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

main.tf

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,6 @@ resource "databricks_metastore_data_access" "this" {
5656
is_default = true
5757
}
5858

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-
6759
# Catalog
6860
resource "databricks_catalog" "this" {
6961
for_each = anytrue([var.create_metastore, length(var.external_metastore_id) != 0]) ? var.catalog : {}

0 commit comments

Comments
 (0)