Provisioning Azure Databricks workspace with a Hub & Spoke firewall for data exfiltration protection
This module will create Azure Databricks workspace with a Hub & Spoke firewall for data exfiltration protection.
This module can be used to deploy the following:
- Resource group with random prefix
- Tags, including
Owner
, which is taken fromaz account show --query user
- Hub-Spoke topology, with hub firewall in hub vnet's subnet.
- Associated firewall rules, both FQDN and network rule using IP.
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-exfiltration-protection
- 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 | =2.83.0 |
databricks | 0.3.10 |
Name | Version |
---|---|
azurerm | 2.83.0 |
external | 2.2.0 |
random | 3.1.0 |
dns | 3.3.0 |
No modules.
Name | Description | Type | Default | Required |
---|---|---|---|---|
bypass_scc_relay | n/a | bool |
true |
no |
dbfs_prefix | n/a | string |
"dbfs" |
no |
eventhubs | n/a | list(string) |
n/a | yes |
firewallfqdn | n/a | list(string) |
n/a | yes |
hubcidr | n/a | string |
"10.178.0.0/20" |
no |
metastore | n/a | list(string) |
n/a | yes |
no_public_ip | n/a | bool |
true |
no |
private_subnet_endpoints | n/a | list |
[] |
no |
rglocation | n/a | string |
"southeastasia" |
no |
scc_relay | n/a | list(string) |
n/a | yes |
spokecidr | n/a | string |
"10.179.0.0/20" |
no |
tags | n/a | map |
{} |
no |
webappip | n/a | list(string) |
n/a | yes |
workspace_prefix | n/a | string |
"adb" |
no |
Name | Description |
---|---|
arm_client_id | Deprecated |
arm_subscription_id | Deprecated |
arm_tenant_id | Deprecated |
azure_region | Deprecated |
databricks_azure_workspace_resource_id | Deprecated |
resource_group | Deprecated |
workspace_url | n/a |
resource_group_id | n/a |
resource_workspace_id | n/a |