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: 

Error: cannot create permissions: invalid character '<' looking for beginning of value

abhaigh
New Contributor III

I'm trying to use terraform to assign a cluster policy to an account-level group (sync'd from AAD via SCIM)

My provider is configured like this

provider "databricks" {
alias = "azure_account"
host = "accounts.azuredatabricks.net"
account_id = "%DATABRICKS_ACCOUNT_ID%"
auth_type = "azure-cli"
}

Each time I try tun it though? I get the error message in the Subject line

I believe that this is the opening "<" of the "<html>" tag of a log-in page - and not the value the system is expecting to be returned from the API endpoint

I know that this configuration IS working correctly when I use it to deploy a test group on the account level with this

resource "databricks_group" "databricks_group_data_engineers" {
provider = databricks.azure_account
display_name = "Test Group"
}

And on the workspace level when I comment out the "providers" line

But I can only appear to be able to apply the policy to a group if the group exists in the workspace level - when I try for an account-level group? I get the invalid "<" character error

Does anyone know how to get around this problem? OR can someone point me in the direction of the code needed to add account-level groups to the individual workspaces? I need to do this as part of a pipeline as we want to simplify databricks user-management as much as possible

Thanks in advance

-=abhaigh=-

.

0 REPLIES 0

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