Terraform Repos Git URL Allow List

paritoshsh
New Contributor II

Hi,

I am provisioning databricks workspaces using terraform and want to add specific github repo url that can be used. In UI there is an option for that but when it comes to terraform there is nothing specific. 

I came across custom_config option here but not sure how to use this for adding github url list. Can anyone help me with this?

Screenshot 2023-08-08 174830.jpg

Amine
Databricks Employee
Databricks Employee

Hello,

This can normally be achieved using this terraform resource:

resource "databricks_workspace_conf" "this" {
  custom_config = {
    "enableProjectsAllowList": true,
    "projectsAllowList": "url1,url2,url3",
  }
}

Cheers

View solution in original post