cancel
Showing results for 
Search instead for 
Did you mean: 
Administration & Architecture
Explore discussions on Databricks administration, deployment strategies, and architectural best practices. Connect with administrators and architects to optimize your Databricks environment for performance, scalability, and security.
cancel
Showing results for 
Search instead for 
Did you mean: 

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

1 ACCEPTED SOLUTION

Accepted Solutions

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

1 REPLY 1

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

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now