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
New Contributor III

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?

8 REPLIES 8

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

TMD
New Contributor III

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
New Contributor III

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
New Contributor III

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
New Contributor III

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
New Contributor III

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.

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group