Skip to content

Latest commit

 

History

History

adb-lakehouse

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Lakehouse terraform blueprints

This example contains Terraform code used to provision a Lakehouse platform using the adb-lakehouse module. It also contains Terraform code to create the following:

  • Unity Catalog metastore
  • Unity Catalog resources: Catalog, Schema, table, storage credential and external location
  • New principals in the Databricks account and assign them to the Databricks workspace.

Deployed resources

This example can be used to deploy the following:

Azure Lakehouse platform

  • A new resource group
  • Networking resources including:
    • Azure vnet
    • The required subnets for the Azure Databricks workspace.
    • Azure route table (if needed)
    • Network Security Group (NSG)
  • The Lakehouse platform resources, including:
    • Azure Databricks workspace
    • Azure Data Factory
    • Azure Key Vault
    • Azure Storage account
  • Unity Catalog resources:
    • Unity Catalog metastore
    • Assignment of the UC metastore to the Azure Databricks workspace
    • Creation of principals (groups and service principals) in Azure Databricks account
    • Assignment of principals to the Azure Databricks workspace
    • Creation of Unity Catalog resources (catalogs, schemas, external locations, grants)

How to use

  1. Update terraform.tfvars file and provide values to each defined variable
  2. (Optional) Configure your remote backend
  3. Run terraform init to initialize terraform and get provider ready.
  4. Run terraform apply to create the resources.