Skip to content

Datatamer/terraform-azure-databricks

Repository files navigation

Tamr Azure Databricks Module

This terraform module creates a Databricks workspace in Azure.

Assumptions

  • An Azure virtual network exists that the Databricks workspace and associated subnets will be injected into.

Examples

Basic

terraform apply

main.tf:

module "databricks_module" { source = "https://github.com/Datatamer/terraform-azure-databricks.git?ref=0.4.0" name = "tamr-databricks" resource_group_name = "rg" location = "eastus2" virtual_network_name = "vnet" virtual_network_rg_name = "rg" private_subnet_name = "databricks-private-subnet" public_subnet_name = "databricks-public-subnet" } 

Minimal

Smallest complete working example. This example might require extra resources to run the example.

Resources Created

This modules creates:

  • 1 Databricks workspace
  • 2 security groups

Requirements

Name Version
terraform >= 0.12

Providers

No provider.

Inputs

Name Description Type Default Required
location Location in which Databricks will be deployed string n/a yes
name Name of Databricks workspace string n/a yes
private_subnet_name Name of the private 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
virtual_network_name Name of existing virtual network into which Databricks will be deployed string n/a yes
virtual_network_rg_name Name of resource group which contiains the virtual network and subnets string n/a yes
tags Map of tags to attach to Databricks workspace map(string) {} no

Outputs

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

References

This repo is based on:

Reference documents:

Development

Releasing new versions

  • Update version contained in VERSION
  • Document changes in CHANGELOG.md
  • Create a tag in github for the commit associated with the version

License

Apache 2 Licensed. See LICENSE for full details.

About

Terraform module for terraform-azure-databricks

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 6