terraform-provider-databricks icon indicating copy to clipboard operation
terraform-provider-databricks copied to clipboard

[FEATURE] Automatic workspace assignment to metastore in the region via terraform

Open vvakadani opened this issue 10 months ago • 1 comments

Use-cases

Enable Automatic workspace assignment to metastore in the region via terraform

Proposal

resource "databricks_metastore" "this" { auto_workspace_assignment = true name = "primary" storage_root = "gs://${google_storage_bucket.unity_metastore.name}" owner = "uc admins" region = us-east1 force_destroy = true

}

vvakadani avatar Feb 27 '25 20:02 vvakadani

I'd like to know the ETA on this feature request as well. Thank you

danielkwok72 avatar Mar 11 '25 23:03 danielkwok72

We would also like to be able to control this via Terraform. The flag currently doesn't even seem to be available via the databricks CLI. But when inspecting the network call, you can see it in the API endpoint payload:

// UpdateMetastoreMutationNative
{
  "data": {
    "accountsmanagerUpdateMetastore": {
      "metastoreInfo": {
        // ...
        "metastoreAssignmentStatus": "AUTO_ASSIGNMENT_ENABLED",
        // ...
      },
      // ...
    }
  }
}

Gerrit-K avatar Aug 21 '25 20:08 Gerrit-K

Any news on this feature?

lmal54321 avatar Sep 19 '25 09:09 lmal54321

There is still no public API

alexott avatar Sep 19 '25 09:09 alexott