cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Governance
Join discussions on data governance practices, compliance, and security within the Databricks Community. Exchange strategies and insights to ensure data integrity and regulatory compliance.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Enforce tagging for all the jobs

SanjeevPrasad
New Contributor III

I am using Azure Databricks and Wanted to find out best way to enforce tagging to all the jobs (job compute / serverless jobs ) and follow standards 

any job not tagged should not run 

my all jobs are using asset bundle (running from github) 

please guide 

1 ACCEPTED SOLUTION

Accepted Solutions

ckunal_eng
New Contributor III

The easiest way to enforce tagging for jobs is to define a job cluster policy with custom_tags defined. Use this policy to create a job cluster for your production workloads. Any job that does not have the mandatory tags will fail as the job cluster won't start.

https://docs.databricks.com/aws/en/admin/clusters/policy-definition#supported-attributes

View solution in original post

1 REPLY 1

ckunal_eng
New Contributor III

The easiest way to enforce tagging for jobs is to define a job cluster policy with custom_tags defined. Use this policy to create a job cluster for your production workloads. Any job that does not have the mandatory tags will fail as the job cluster won't start.

https://docs.databricks.com/aws/en/admin/clusters/policy-definition#supported-attributes