This terraform module creates a Databricks workspace in Azure.
- An Azure virtual network exists that the Databricks workspace and associated subnets will be injected into.
terraform apply
Smallest complete working example. This example might require extra resources to run the example.
This modules creates:
- 1 Databricks workspace
- 2 security groups
Name | Version |
---|---|
terraform | >= 0.12 |
azurerm | >= 2.60.0 |
No provider.
Name | Description | Type | Default | Required |
---|---|---|---|---|
location | Location in which Databricks will be deployed | string |
n/a | yes |
private_subnet_id | ID of the private subnet | string |
n/a | yes |
private_subnet_name | Name of the private subnet | string |
n/a | yes |
public_subnet_id | ID of the public subnet | string |
n/a | yes |
public_subnet_name | Name of the public subnet | string |
n/a | yes |
resource_group_name | Name of resource group into which Databricks will be deployed | string |
n/a | yes |
vnet_id | ID of existing virtual network into which Databricks will be deployed | string |
n/a | yes |
vnet_resource_group_name | Name of resource group which contains the virtual network and subnets | string |
n/a | yes |
workspace_name | Name of Databricks workspace | string |
n/a | yes |
tags | Map of tags to attach to Databricks workspace | map(string) |
{} |
no |
Name | Description |
---|---|
security_group_private_id | ID of security group assigned to the private subnet |
security_group_private_name | Name of security group assigned to the private subnet |
security_group_public_id | ID of security group assigned to the public subnet |
security_group_public_name | Name of security group assigned to the public subnet |
workspace_id | ID of the Databricks workspace |
workspace_name | Name of the Databricks workspace |
This repo is based on:
- Azure Databricks: https://docs.microsoft.com/en-us/azure/azure-databricks/
- Azure Databricks Terraform Docs: https://www.terraform.io/docs/providers/azurerm/r/databricks_workspace.html
- Azure Security Group Terraform Docs: https://www.terraform.io/docs/providers/azurerm/r/network_security_group.html
- Azure Subnet Terraform Docs: https://www.terraform.io/docs/providers/azurerm/r/subnet.html
- Update version contained in
VERSION
- Document changes in
CHANGELOG.md
- Create a tag in github for the commit associated with the version
Apache 2 Licensed. See LICENSE for full details.