/terraform-playground

Different snippets of Terraform code. Primarily around Databricks

Primary LanguageHCLMIT LicenseMIT

terraform-playground

Different snippets of Terraform code. Primarily around Databricks:

  • aad-dbx-sync allows to synchronize users/groups/service principals from Azure Active Directory into Databricks Workspace.
  • adb-workspace-cmk-rbac shows how to create Azure Databricks workspace with Customer Managed Keys encryption enabled that uses Azure Key Vault with RBAC enabled instead of Access policies.
  • adf-dbx-demo shows how to configure different authentication methods for Azure Data Factory links to Azure Databricks.
  • akv-to-db-secrets shows how to replicate secrets from Azure Key Vault into the Databricks Secrets scope (for example, to access them in another cloud)
  • cloud-agnostic shows how to create cloud agnostic deployments of Databricks resources. See the blog post for more details about it.
  • cluster-init-script-on-abfss shows how to configure cluster to use init script from the Azure Storage Account (using abfss protocol)
  • databricks-modules-demo1 shows how to use Databricks modules to provision Azure Databricks workspace.
  • dbsql-demo demonstrates how to use Terraform to create Databricks SQL resources - SQL Warehouse, queries and dashboards.
  • dlt-disaster-recovery contains example of Terraform deployment for DLT Pipeline with Disaster Recovery (DR) used in the blog post Production-Ready and Resilient Disaster Recovery for DLT Pipelines.
  • dlt-on-abfss shows how to configure Delta Live Table (DLT) pipeline to store data in Azure Storage (ABFSS protocol).
  • dlt-t-shirt-sizing shows how to create a reusable Terraform module for DLT pipeline that is configured by T-shirt size-style specification instead of using hardcoded min/max number of nodes.
  • git-credential-for-sp shows how to set Git credential for Databricks Service Principal on AWS or GCP.
  • git-proxy shows how to set up a Databricks Git Proxy cluster for connectivity to the private Git repositories.
  • jobs-demo demonstrate how to create a simple Databricks workflow with multiple tasks inside.
  • plan-changes script that shows a summary of Terraform plan changes