# Help regarding Databricks Metastore

**URL:** <https://discuss.hashicorp.com/t/help-regarding-databricks-metastore/55955>\
**Category:** Terraform Providers\
**Created:** [July 12, 2023, 7:53am UTC](https://discuss.hashicorp.com/t/help-regarding-databricks-metastore/55955 "2023-07-12T07:53:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![paritosh.sharma](https://avatars.discourse-cdn.com/v4/letter/p/4bbf92/32.png) [@paritosh.sharma](https://discuss.hashicorp.com/u/paritosh.sharma)\
**Post date:** [July 12, 2023, 7:53am UTC](https://discuss.hashicorp.com/t/help-regarding-databricks-metastore/55955/1 "2023-07-12T07:53:48Z")

</div>

Hi,  
I am using terraform to create a datbricks metastore using [this](https://registry.terraform.io/providers/databricks/databricks/latest/docs/resources/metastore).  
Now the issue is that I want to use this metastore reference in another terraform project where I am creating the databricks workspaces but there is no data source for metastore. Can anyone help how I can get this working.In short I want to have something like

```auto
data "databricks_metastore" "metastore" {
  name = "metastore-name"
}

```

---

<div class="post-metadata">

**Author:** ![maxb](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/maxb/32/26655_2.png) [@maxb](https://discuss.hashicorp.com/u/maxb)\
**Post date:** [July 12, 2023, 8:14am UTC](https://discuss.hashicorp.com/t/help-regarding-databricks-metastore/55955/2 "2023-07-12T08:14:01Z")

</div>

That does seem like a missing feature in the relevant provider. It would probably be best to report it to the vendor, or submit a PR.

It might be possible to work around it by exposing the metastore ID via a Terraform output, and using Terraform remote state to access the outputs from another workspace … but this is unnecessarily complicated, when just providing the datasource you described is how things ought to be done.
