This module contains Terraform code used to deploy an Azure Databricks workspace with Azure Private Link.
Note
An Azure VM is deployed using this module in order to test the connectivity to the Azure Databricks workspace.
This module can be used to deploy the following:
It covers a standard deployment to configure Azure Databricks with Private Link:
- Two seperate VNets are used:
- A transit VNet
- A customer Data Plane VNet
- A private endpoint is used for back-end connectivity and deployed in the customer Data Plane VNet.
- A private endpoint is used for front-end connectivity and deployed in the transit VNet.
- A private endpoint is used for web authentication and deployed in the transit VNet.
- A dedicated Databricks workspace, called Web Auth workspace, is used for web authentication traffic. This workspace is configured with the sub resource browser_authentication and deployed using subnets in the transit VNet.
Note
You can customize this module by adding, deleting or updating the Azure resources to adapt the module to your requirements. A deployment example using this module can be found in examples/adb-with-private-link-standard
- Reference this module using one of the different module source types
- Add a
variables.tf
with the same content in variables.tf - Add a
terraform.tfvars
file and provide values to each defined variable - Add a
output.tf
file. - (Optional) Configure your remote backend
- Run
terraform init
to initialize terraform and get provider ready. - Run
terraform apply
to create the resources.
Name | Version |
---|---|
azurerm | >=4.0.0 |
Name | Version |
---|---|
azurerm | >=4.0.0 |
external | n/a |
http | n/a |
random | n/a |
No modules.
Name | Description | Type | Default | Required |
---|---|---|---|---|
cidr_dp | (Required) The CIDR for the Azure Data Plane VNet | string |
n/a | yes |
cidr_transit | (Required) The CIDR for the Azure transit VNet | string |
n/a | yes |
location | (Required) The location for the resources in this module | string |
n/a | yes |
private_subnet_endpoints | The list of Service endpoints to associate with the private subnet. | list(string) |
[] |
no |
public_network_access_enabled | (Optional, default: false) If access from the public networks should be enabled | bool |
false |
no |
transit_private_subnet_endpoints | The list of Service endpoints to associate with the private transit subnet. | list(string) |
[] |
no |
Name | Description |
---|---|
dp_databricks_azure_workspace_resource_id | Depricated The ID of the Databricks Workspace in the Azure management plane. |
dp_workspace_url | Depricated Renamed to workspace_url to align with naming used in other modules |
my_ip_addr | n/a |
test_vm_password | Password to access the Test VM, use terraform output -json test_vm_password to get the password value |
test_vm_public_ip | Public IP of the created virtual machine |
workspace_id | The Databricks workspace ID |
workspace_url | The workspace URL which is of the format 'adb-{workspaceId}.{random}.azuredatabricks.net' |