cancel
Showing results for 
Search instead for 
Did you mean: 
Administration & Architecture
cancel
Showing results for 
Search instead for 
Did you mean: 

Error: cannot create metastore data access

niklas
Contributor

I'm in the progress of enabling Databricks Unity Catalog and encountered a problem with the databricks_metastore_data_access Terraform resource:

resource "databricks_metastore_data_access" "this" {
  provider = databricks.account-level

  metastore_id  = databricks_metastore.this.id
  name          = "mi-access-databricks-metastore"
  owner         = "admin-group"
  force_destroy = true
  is_default    = true

  azure_managed_identity {
    access_connector_id = azurerm_databricks_access_connector.this.id
  }
}

The Terraform apply run will always fail with following error: Error: cannot create metastore data access:
Unfortunately I get no more error details than the message from above.

The funny thing is that all other Unity Catalog related resource were created successfully and looking at the Account Console I can see that the metastore was assigned to my Databricks workspace.

So my question: Do you know for what the metastore data access resource is used for and do I even need it? If yes, how can I fix this issue?

1 ACCEPTED SOLUTION

Accepted Solutions
1 REPLY 1

niklas
Contributor
Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.