cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Get Started Discussions
Start your journey with Databricks by joining discussions on getting started guides, tutorials, and introductory topics. Connect with beginners and experts alike to kickstart your Databricks experience.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Use a single cluster policy for multiple teams and capture team name via custom tags

AnirbanDas
New Contributor III

I am planning to add team names in custom tags and was hoping can do it with allowList and then have the user choose from the list. I am trying to avoid having multiple policy files per team.

Has anybody found a good way to do this? May be using global init scripts?

Just want to avoid policy file sprawls and users needing to type it out. TIA!

1 REPLY 1

Kaniz_Fatma
Community Manager
Community Manager

Hi @AnirbanDas , To add team names as custom tags in Delta Live Tables pipelines, you can follow these steps:

1. Click on the "Workflows" option in the left sidebar menu.
2. Select "Delta Live Tables" from the options.
3. Click on "Create Pipeline" to create a new pipeline or select an existing pipeline.
4. Enter the necessary information for your pipeline in the UI.
5. Click on "JSON" in the upper right corner to switch to the JSON view.
6. In the JSON configuration file, locate the "clusters" section.
7. Add the custom tags block right below the "label" block within the "clusters" section.
8. Specify the team names as the custom tag names and their corresponding values.
9. Save the changes to the JSON configuration file.

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