mlops-azure-infrastructure-with-sp-linking

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

Terraform Module HCL DATABRICKS ✓ Verified

This module sets up multi-workspace model registry between an Azure Databricks development (dev) workspace, staging workspace, and production (prod) workspace, allowing READ access from dev/staging workspaces to staging & prod model registries. It also links pre-existing Azure Active Directory (AAD) applications to the service principals.

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

MLOps Azure Infrastructure Module with Service Principal Linking This module sets up multi-workspace model registry between a development (dev) workspace, a staging workspace, and a production (prod) workspace, allowing READ access from dev/staging workspaces to staging & prod model registries. The module performs this setup by linking pre-existing AAD applications with newly created Azure Databricks service principals in the staging and prod workspaces, then giving them READ-only access to their respective model registries. It will also create secret scopes and store the necessary secrets in the dev and staging workspaces, and only give READ access to this secret scope to the "users" group and the generated service principals group. The output of this module will be the secret scope names

Inputs (11)
NameTypeDescriptionDefault
prod_workspace_idstringWorkspace ID of the prod workspace (can be often found in the URL) used for remo required
azure_staging_client_idstringThe client ID of the AAD service principal in the staging workspace that will be required
azure_prod_client_idstringThe client ID of the AAD service principal in the prod workspace that will be us required
staging_workspace_idstringWorkspace ID of the staging workspace (can be often found in the URL) used for r required
azure_prod_aad_tokenstringThe AAD token of the service principal in the prod workspace. This will need to null
azure_prod_client_secretstringThe client secret of the AAD service principal in the prod workspace. NOTE: If anull
additional_token_usage_groupslist(string)List of groups that should have token usage permissions in the staging and prod []
azure_staging_tenant_idstringThe tenant ID of the AAD service principal in the staging workspace. NOTE: If aznull
azure_prod_tenant_idstringThe tenant ID of the AAD service principal in the prod workspace. NOTE: If azurenull
azure_staging_aad_tokenstringThe AAD token of the service principal in the staging workspace. This will need null
azure_staging_client_secretstringThe client secret of the AAD service principal in the staging workspace. NOTE: Inull
Outputs (7)
dev_secret_scope_name_for_prod — The name of the secret scope created in the dev workspace that is used for remote model registry acc
staging_secret_scope_name_for_prod — The name of the secret scope created in the staging workspace that is used for remote model registry
dev_secret_scope_prefix_for_staging — The prefix used in the dev workspace secret scope for remote model registry access to the staging wo
dev_secret_scope_prefix_for_prod — The prefix used in the dev workspace secret scope for remote model registry access to the prod works
staging_secret_scope_prefix_for_prod — The prefix used in the staging workspace secret scope for remote model registry access to the prod w
service_principal_group_name — The name of the service principal group created in the staging and prod workspace.
dev_secret_scope_name_for_staging — The name of the secret scope created in the dev workspace that is used for remote model registry acc
Resources (3)
databricks_groupdatabricks_permissionsdatabricks_token
Details
FrameworkTerraform Module
LanguageHCL
Version0.0.3
Cloud DATABRICKS
★ Stars1
Forks0
Total downloads205
Inputs11
Outputs7
Resources3
Submodules2
LicenseApache-2.0
Namespacedatabricks
Updated