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:ย 

Unable to add a databricks permission to existing policy

peachum
New Contributor
Hi,   We're using databricks provider v1.49.1 to manager our Azure databricks cluster and other resources.    Having an issue setting permissions with the databricks terraform resource "databricks_permissions" where the error indicates that the cluster-policy does not exist when, in fact, it does.    We've tried deleting and recreating the related cluster policy but it has no effect.   State file shows that cluster-policy 00167DF0D0FC59F8 does exist.    Any suggestions on how to sync our state file with the databricks infrastructure or some other method to clear this condition would be would be much appreciated.

ERROR OUTPUT FROM TERRAFORM CLOUD UI APPLY:
Error: cannot create permissions: cluster-policy 00167DF0D0FC59F8 does not exist
 
with databricks_permissions.all_purpose_cluster_policy_usage
on databricks.tf line 226, in resource "databricks_permissions" "all_purpose_cluster_policy_usage":
resource "databricks_permissions" "all_purpose_cluster_policy_usage" {
1 REPLY 1

Walter_C
Databricks Employee
Databricks Employee

Is this cluster policy a custom policy? If you try for testing purposes to modify it in the UI does it allows you to

 

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