Skip to content

Terraform module for terraform-azure-databricks

License

Notifications You must be signed in to change notification settings

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

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
azurerm >= 2.60.0

Providers

No provider.

Inputs

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

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.