mlops-azure-project-with-sp-linking

databricks/mlops-azure-project-with-sp-linking/databricks

Terraform Module HCL DATABRICKS ✓ Verified

This module creates and configures service principals with appropriate permissions and entitlements to run CI/CD for a project, and creates a workspace directory as a container for project-specific resources for the Azure Databricks staging and prod workspaces. It also links pre-existing Azure Active Directory (AAD) applications to the service principals.

Install
module "mlops-azure-project-with-sp-linking" {
source = "databricks/mlops-azure-project-with-sp-linking/databricks"
version = "0.0.3"
}
plain text: /constructs/tfmod-databricks-mlops-azure-project-with-sp-linking-databricks/install.txt
⭐ Source on GitHub 📦 Registry page
README

MLOps Azure Project Module with Service Principal Linking In both of the specified staging and prod workspaces, this module: Links a pre-existing AAD applications and associates it with a newly created Azure Databricks service principal, configuring appropriate permissions and entitlements to run CI/CD for a project. Creates a workspace directory as a container for project-specific resources The service principals are granted CAN_MANAGE permissions on the created workspace directories. _NOTE:_ 1. This module is in preview so it is still experimental and subject to change. Feedback is welcome! 2. The Databricks providers that are passed into the module should be configured with workspace admin permissions. 3. The module assumes that one of the two Azure Infrastructure Modules (with Creation

Inputs (11)
NameTypeDescriptionDefault
azure_prod_client_idstringThe client ID of the AAD service principal in the prod workspace that will be us required
service_principal_namestringThe display name for the service principals. required
project_directory_pathstringPath/Name of Azure Databricks workspace directory to be created for the project. required
azure_staging_client_idstringThe client ID of the AAD service principal in the staging workspace that will be required
azure_staging_aad_tokenstringThe AAD token of the service principal in the staging workspace. This will need null
azure_prod_client_secretstringThe client secret of the AAD service principal in the prod workspace. NOTE: If anull
azure_prod_tenant_idstringThe tenant ID of the AAD service principal in the prod workspace. NOTE: If azurenull
azure_prod_aad_tokenstringThe AAD token of the service principal in the prod workspace. This will need to null
service_principal_group_namestringThe name of the service principal group in the staging and prod workspace. The c"mlops-service-principals"
azure_staging_client_secretstringThe client secret of the AAD service principal in the staging workspace. NOTE: Inull
azure_staging_tenant_idstringThe tenant ID of the AAD service principal in the staging workspace. NOTE: If aznull
Outputs (5)
prod_service_principal_application_id — Application ID of the created Azure Databricks service principal in the prod workspace. Identical to
prod_service_principal_aad_token — Sensitive AAD token value of the created Azure Databricks service principal in the prod workspace.
project_directory_path — Path/Name of Azure Databricks workspace directory created for the project.
staging_service_principal_application_id — Application ID of the created Azure Databricks service principal in the staging workspace. Identical
staging_service_principal_aad_token — Sensitive AAD token value of the created Azure Databricks service principal in the staging workspace
Resources (2)
databricks_directorydatabricks_permissions
Details
FrameworkTerraform Module
LanguageHCL
Version0.0.3
Cloud DATABRICKS
★ Stars1
Forks1
Total downloads219
Inputs11
Outputs5
Resources2
Submodules1
LicenseApache-2.0
Namespacedatabricks
Updated