Ravi
Databricks Employee
Databricks Employee

Hi @Nicole Wong​ , can you try below options:

resource "databricks_permissions" "token_usage" {
    authorization = "tokens"
 
    access_control {
        group_name = "<groupname>"
        permission_level = "CAN_USE"
    }
}
  • Cluster
    • enable Cluster Container Services can be enabled via "enableDcs" custom_config
    • enable EBS SSD gp3 can be enabled via "enableGp3" custom_config
  • Advanced
    • enable Web terminal can be enabled via "enableWebTerminal" custom_config
    • enable DBFS file browser can be enabled via "enableDbfsFileBrowser" custom_config
resource "databricks_workspace_conf" "this" {
  custom_config = {
    "enableWebTerminal" : true,
    "enableGp3" : true,
    "enableDbfsFileBrowser" : true,
    "enableDcs" : true
  }
}

To achieve the same via API we can use below curl:

curl --location --request PATCH 'https://test.cloud.databricks.com/api/2.0/workspace-conf' \
--header 'Authorization: Bearer REPLACE_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
    "enableWebTerminal": "true",
    "enableGp3": "true",
    "enableDbfsFileBrowser": "true",
    "enableDcs": "true"
}'