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=-
.