analytics/machine_learning¶
Overview¶
This page documents the Terraform module implementation, key configuration surfaces, and how it integrates with CAF.
Dependency diagram (Mermaid)¶
graph TD
azurecaf_name.ws["azurecaf_name.ws"]
azurerm_machine_learning_workspace.ws["azurerm_machine_learning_workspace.ws"]
azurerm_machine_learning_workspace_network_outbound_rule_fqdn.rules["azurerm_machine_learning_workspace_network_outbound_rule_fqdn.rules"]
azurerm_machine_learning_workspace_network_outbound_rule_private_endpoint.rules["azurerm_machine_learning_workspace_network_outbound_rule_private_endpoint.rules"]
azurerm_machine_learning_workspace_network_outbound_rule_service_tag.rules["azurerm_machine_learning_workspace_network_outbound_rule_service_tag.rules"]
module.compute_instance["module.compute_instance"]
module.diagnostics["module.diagnostics"]
module.private_endpoint["module.private_endpoint"]
azurerm_machine_learning_workspace.ws --> azurecaf_name.ws
azurerm_machine_learning_workspace_network_outbound_rule_fqdn.rules --> azurerm_machine_learning_workspace.ws
azurerm_machine_learning_workspace_network_outbound_rule_private_endpoint.rules --> azurerm_machine_learning_workspace.ws
azurerm_machine_learning_workspace_network_outbound_rule_service_tag.rules --> azurerm_machine_learning_workspace.ws
module.compute_instance --> azurerm_machine_learning_workspace.ws
module.diagnostics --> azurerm_machine_learning_workspace.ws
module.private_endpoint --> azurerm_machine_learning_workspace.ws
Module Reference¶
Category: analytics
Path: modules/analytics/machine_learning
Azure Resources: azurecaf_name, azurerm_machine_learning_workspace, azurerm_machine_learning_workspace_network_outbound_rule_fqdn, azurerm_machine_learning_workspace_network_outbound_rule_private_endpoint, azurerm_machine_learning_workspace_network_outbound_rule_service_tag
Inputs¶
| Name | Description | Type | Required | Default | Validation |
|---|---|---|---|---|---|
"settings" |
"<<-DESCRIPTION Configuration for an Azure Machine Learning workspace. Supports the AzureRM workspace arguments and n... | object({name = string, resource_group... |
yes | - |
"The encryption block must be configured when service_side_encryption_enabled is true."; "The feature_store block must be configured when kind is FeatureStore." |
"client_config" |
"Client configuration object used to resolve landing zone references." | any |
yes | - |
- |
"global_settings" |
"Global CAF settings." | any |
yes | - |
- |
"resource_groups" |
"Combined resource group objects used by CAF key references." | map(any) |
no | {} |
- |
"keyvault_id" |
"Key Vault ID associated with the workspace." | string |
yes | - |
- |
"storage_account_id" |
"Storage account ID associated with the workspace." | string |
yes | - |
- |
"application_insights_id" |
"Application Insights ID associated with the workspace." | string |
yes | - |
- |
"container_registry_id" |
"Optional container registry ID associated with the workspace." | string |
no | - |
- |
"base_tags" |
"Inherited tags to apply to the workspace." | map(any) |
no | {} |
- |
"vnets" |
"Combined virtual network objects used for subnet references." | map(any) |
no | {} |
- |
"diagnostics" |
"Combined diagnostic definitions and destination objects." | any |
no | {"diagnostics_definition": {}, "diagnostics_destinations": {}, "event_hub_namespaces": {}, "log_analytics": {}, "storage_accounts": {}} |
- |
"private_endpoints" |
"Private endpoint configurations for the workspace." | map(any) |
no | {} |
- |
"private_dns" |
"Combined private DNS zone objects used by private endpoints." | map(any) |
no | {} |
- |
"remote_objects" |
"Remote CAF objects used to resolve managed identities." | any |
no | {} |
- |
Outputs¶
| Name | Description | Sensitive | Value |
|---|---|---|---|
"id" |
"The ID of the Machine Learning Workspace." | - | azurerm_machine_learning_workspace.ws.id |
"name" |
"Name of the Machine Learning Workspace." | - | azurerm_machine_learning_workspace.ws.name |
"identity" |
"The managed identity block exported by the Machine Learning Workspace." | - | azurerm_machine_learning_workspace.ws.identity |
"rbac_id" |
"The system-assigned identity principal ID, when present." | - | try(azurerm_machine_learning_workspace.ws.identity[0].principal_id, null) |
"workspace_id" |
"The immutable ID associated with the Machine Learning Workspace." | - | azurerm_machine_learning_workspace.ws.workspace_id |
"discovery_url" |
"The discovery service URL for the Machine Learning Workspace." | - | azurerm_machine_learning_workspace.ws.discovery_url |
"compute_instances" |
"Outputs for legacy ARM-template-backed compute instances." | - | module.compute_instance |
Sources¶
modules/analytics/machine_learning/compute_instance.tfmodules/analytics/machine_learning/diagnostics.tfmodules/analytics/machine_learning/locals.tfmodules/analytics/machine_learning/main.tfmodules/analytics/machine_learning/network_outbound_rules.tfmodules/analytics/machine_learning/outputs.tfmodules/analytics/machine_learning/private_endpoint.tfmodules/analytics/machine_learning/variables.tfmodules/analytics/machine_learning/workspace.tf