Databricks provider - how to change Workspace Settings?

Hey,

Quick question. In the Databricks Terraform provider, is there any way of adjusting settings for example: in Admin Console/Workspace Settings/Repos ? Right now I am able to configure an Repo using Terraform but before that I need to log in into Workspace and for instance set “Files in Repos” to true.

The same goes for a few other things in Admin COnsole.

@Nemeczek there’s databricks_workspace_conf for this purpose. Please take the conf property name from your preview documentation.

1 Like

Thanks. But sadly there is no documentation in Databricks about those options… The only thing documented is the ipAccess in Terraform Provider. I will try ask our Databricks contact about the property name we can use in custom_config.

Hi,

You can view the possible custom_config arguments by using the DIVclass names on the portal UI:

image

If you drop the “-wrapper” suffix you can get the argument.

For example, enableWebTerminal-wrapper, becomes:

  custom_config = {
    "enableIpAccessLists" : true,
    "enableWebTerminal" : false
  }

Which would then disable the web terminal to the Terraform created workspace.

You have to use come common sense in linking the div class to the portal option, or use a browser tool to highlight the elements in the browser.