cancel
Showing results for 
Search instead for 
Did you mean: 
Administration & Architecture
Explore discussions on Databricks administration, deployment strategies, and architectural best practices. Connect with administrators and architects to optimize your Databricks environment for performance, scalability, and security.
cancel
Showing results for 
Search instead for 
Did you mean: 

I want to create custom tag in cluster policy so that clusters created using that policy get those

Rameshkumar85
New Contributor

"I want to create custom tags in a cluster policy so that clusters created using this policy will automatically include those tags for billing purposes. Consider the following example:


"cluster_type": {
"type": "fixed",
"value": "all-purpose"
},
"custom_tags": {
"type": "fixed",
"value": {
"billing_cost_center": "CostCenter123",
"project_code": "ProjectABC"
}
}

This is a part of the cluster policy configuration. The idea is that whenever clusters are created with this policy, the specified billing tags will automatically be associated with each cluster. This ensures accurate cost allocation and enables proper billing for each project."

1 REPLY 1

Walter_C
Databricks Employee
Databricks Employee

Are you having any issue while running this code in the policy?

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