You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since it is now possible to tag serverless clusters for notebook, job, and dlt using budget policies, it would be nice to be able to provision those using terraform (similar to the cluster policies). Currently, they need to be set by workspace admins in the Compute section of the Workspace Settings.
Attempted Solutions
I tried to use the databricks_budget resource, but this is something different and intended for actual budgets (not policies for tagging) on the account level.
Proposal
The changes could look something like this:
databricks_budget_policy
resource"databricks_budget_policy""example" {
name="Example Policy"tag { # At least one tag is requiredkey="foo"value="bar"
}
tag {
key="baz"value="qux"
}
}
databricks_permission
resource"databricks_permissions""example" {
budget_policy_id=databricks_budget_policy.example.idaccess_control {
user_name="xyz"permission_level="CAN_USE"# or "CAN_MANAGE"
}
}
Use-cases
Since it is now possible to tag serverless clusters for notebook, job, and dlt using budget policies, it would be nice to be able to provision those using terraform (similar to the cluster policies). Currently, they need to be set by workspace admins in the Compute section of the Workspace Settings.
Attempted Solutions
I tried to use the
databricks_budget
resource, but this is something different and intended for actual budgets (not policies for tagging) on the account level.Proposal
The changes could look something like this:
databricks_budget_policy
databricks_permission
References
The text was updated successfully, but these errors were encountered: