Panda
Valued Contributor

@badari_narayan Based on above terraform code, you are trying to use the databricks.accounts provider to read the current workspace metastore, which is incorrect — the databricks_current_metastore data source is a workspace-level resource, and must be used with the workspace-level provider.

Review the Terraform documentation for the same
https://registry.terraform.io/providers/databricks/databricks/latest/docs/resources/metastore