mlops-azure-project-with-sp-creation

databricks/mlops-azure-project-with-sp-creation/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 creates the relevant Azure Active Directory (AAD) applications for the service principals.

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

MLOps Azure Project Module with Service Principal Creation In both of the specified staging and prod workspaces, this module: Creates an AAD application 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 must be configured with workspace admin permissions. 3. The Azure Active Directory (AzureAD) provider that is passed into the module must be configure

Inputs (4)
NameTypeDescriptionDefault
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_tenant_idstringThe Azure tenant ID of the AAD subscription. Must match the one used for the Azu required
service_principal_group_namestringThe name of the service principal group in the staging and prod workspace. The c"mlops-service-principals"
Outputs (7)
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
staging_service_principal_client_secret — Sensitive AAD client secret of the created AAD application associated with the staging service princ
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.
prod_service_principal_client_secret — Sensitive AAD client secret of the created AAD application associated with the prod service principa
Resources (2)
databricks_directorydatabricks_permissions
Details
FrameworkTerraform Module
LanguageHCL
Version0.0.3
Cloud DATABRICKS
★ Stars5
Forks0
Total downloads2.3k
Inputs4
Outputs7
Resources2
Submodules1
LicenseApache-2.0
Namespacedatabricks
Updated