cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Can we add tags to Unity Catalog through Terraform?

JameDavi_51481
Contributor

We use Terraform to manage most of our infrastructure, and I would like to extend this to Unity Catalog. However, we are extensive users of tagging to categorize our datasets, and the only programmatic method I can find for adding tags is to use SQL commands. This completely breaks the declarative model of schema management and forces us to use an imperative model. Is there no way to manage tags through Terraform?

10 REPLIES 10

This is a pretty crucial missing feature, I hope this feedback can be passed along to the relevant teams.

TMD
Contributor

Hello,

Is there a plan for the Databricks TF provider support tagging in the near future?

Thanks.

jakubigla
New Contributor II

huge databricks client here: we also need this

TMD
Contributor

Hello Databricks folks,

Is there a plan for the Databricks TF provider support tagging of UC catalog objects in the near future?

Tags are critical in multi-tenants environments.

Thanks.

 

JameDavi_51481
Contributor

FYI, one of our engineers put up a PR over a month ago during an offsprint to add tag support to the Terraform provider, but had to move on to other projects due to the slow review process. It seems pretty easy for someone from the Databricks team to pick this up and get it over the finish line since multiple companies are requesting it.  https://github.com/databricks/terraform-provider-databricks/pull/3268 

TMD
Contributor

Thanks @JameDavi_51481 

Guess extending the suggested changes to cover all applicable UC objects (catalogs, schemas, tables, etc.) would address the concern/request.

Thanks. 

 

TMD
Contributor

dbruehlmeier
Contributor

Having tags with terraform would help a lot. Add them on cluster and schema level is crucial. Looking forward for an update about the open PR.

Simen_Holmestad
New Contributor II

Is there any progress on this? It would be a really nice feature to be able to tag schemas and tables through Terraform.

tscomitre-rt
New Contributor II

It seems very frustrating to many of the users and not to say probably the big clients, waiting over a year for this feature. Anyone from Databricks that could raise this internally to get it done-done would be very appreciated.