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

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group