Tacti
Tacti

Reputation: 23

Is there a way to enable Unity Catalog programatically?

I'm having some trouble trying to figure out how to enable Unity catalog programmatically when rolling out new Azure Databricks instances. In the past we've done this by hand but it would be nice to eliminate these manual tasks.

I've searched the web and read through the Databricks API documentation (https://api-docs.databricks.com/rest/latest/unity-catalog-api-specification.html). I might be using the wrong search terms because I seem to be the only one after this information :'D

Upvotes: 1

Views: 984

Answers (1)

Alex Ott
Alex Ott

Reputation: 87154

There is a Metastore Assign API for that - you can find it in the Databricks API explorer. It's also available as a Databricks Terraform resource - databricks_metastore_assignment.

Please note that right now this a workspace API, so you need to have a workspace before doing assignment.

Upvotes: 0

Related Questions