Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2021 03:39 PM
Hi @Nicole Wong , can you try below options:
- Access Control
- enable Table access control could not find a feature flag to enable this config via TF. Will update if I could find one.
- Configure Personal Access Tokens to grant all users Can use access we can achieve this using https://registry.terraform.io/providers/databrickslabs/databricks/latest/docs/resources/permissions#...
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"
}'