terraform-provider-databricks icon indicating copy to clipboard operation
terraform-provider-databricks copied to clipboard

[DOC] `databricks_workspace_conf` resource documentation incomplete

Open bvennemann opened this issue 1 year ago • 10 comments

The resource databricks_workspace_conf accepts a parameter custom_config which is list of key-value-pairs. The documentation (v. 1.38.0) does not list all of the available keys that can be set which makes it very hard to find out what the available keys are. Can all settings that can be set in the admin area of the workspace UI also be set via this Terraform resource?

bvennemann avatar Mar 12 '24 08:03 bvennemann

For those interested, I was able to reverse-engineer most of the undocumented keys by using the developer tools of the web browser and inspecting the payload of the underlying api calls when changing the respective settings in the workspace UI.

bvennemann avatar Mar 21 '24 10:03 bvennemann

Hello, @bvennemann, I'm currently working with this resource as well and was looking for the list of parameters, would you mind sharing it ?

UngVincent avatar Mar 25 '24 09:03 UngVincent

Hello @bvennemann, may you please share the list of params with us ? Thank you in advance !

kamliolfa1 avatar Mar 25 '24 14:03 kamliolfa1

@UngVincent @kamliolfa1 Here is what I found out. Use at you own risk as I do not know how much of it is still officially supported (it did work for me though).

"enableResultsDownloading" # UI setting: Notebook results download "enableExportNotebook" # UI setting: Notebook exporting "mlflowRunArtifactDownloadEnabled" # UI setting: MLflow run artifact download "enableUploadDataUis" # UI setting: Upload data usind the UI "enableNotebookTableClipboard" # UI setting: Notebook table clipboard features "storeInteractiveNotebookResultsInCustomerAccount" # UI setting: Store interactive notebook results in customer account "enableDeprecatedGlobalInitScripts" # UI setting: Global init scripts -> Legacy global init scripts "enableWebTerminal" # UI setting: Web terminal "rStudioUserDefaultHomeBase" # UI setting: RStudio home directory "enforceUserIsolation" # UI setting: Enforce user isolation "enableProjectsAllowList" # UI setting: Git URL allow list permission "projectsAllowListPermissions" # UI setting: Git URL allow list permission "projectsAllowList" # UI setting: Git URL allow list "reposIpynbResultsExportPermissions" # UI setting: Allow repos to export IPYNB output "enableTokensConfig" # UI setting: Personal Access Tokens "enableDbfsFileBrowser" # UI setting: DBFS File Browser "enableDatabricksAutologgingAdminConf" # UI setting: Databricks Autologging "mlflowModelServingEndpointCreationEnabled" # UI setting: Legacy MLflow Model Serving "enableVerboseAuditLogs" # UI setting: Verbose Audit Logs "enableFileStoreEndpoint" # UI setting: FileStore Endpoint

bvennemann avatar Mar 25 '24 14:03 bvennemann

@bvennemann Thank you for your quick response. I will proceed with testing!

kamliolfa1 avatar Mar 25 '24 14:03 kamliolfa1

Has anyone found anything for this setting on databricks workspaces? I need to enable it using terraform. image

BraydenCummins-8451 avatar Apr 04 '24 20:04 BraydenCummins-8451

@bvennemann Thank you, you saved the day for me !

kerbou avatar Sep 11 '24 06:09 kerbou