analytics/machine_learning_compute_instance¶
Overview¶
This page documents the Terraform module implementation, key configuration surfaces, and how it integrates with CAF.
Dependency diagram (Mermaid)¶
graph TD
azurecaf_name.mlci["azurecaf_name.mlci"]
azurerm_machine_learning_compute_instance.mlci["azurerm_machine_learning_compute_instance.mlci"]
remote:machine_learning_workspace_id["remote:machine_learning_workspace_id"]
remote:subnet_resource_id["remote:subnet_resource_id"]
azurerm_machine_learning_compute_instance.mlci --> azurecaf_name.mlci
azurerm_machine_learning_compute_instance.mlci --> remote:machine_learning_workspace_id
azurerm_machine_learning_compute_instance.mlci --> remote:subnet_resource_id
Module Reference¶
Category: analytics
Path: modules/analytics/machine_learning_compute_instance
Azure Resources: azurecaf_name, azurerm_machine_learning_compute_instance
Inputs¶
| Name | Description | Type | Required | Default | Validation |
|---|---|---|---|---|---|
"global_settings" |
"Global CAF naming settings." | any |
yes | - |
- |
"client_config" |
"Client configuration, including landing-zone and tenant identifiers." | any |
yes | - |
- |
"settings" |
"<<DESCRIPTION Settings for an Azure Machine Learning compute instance. Required: - name - CAF input name used to gen... | object({name = string, machine_learni... |
yes | - |
"When machine_learning_workspace is supplied it must specify either id or key. Omit it entirely to use the resolved remote_objects.machine_learning_workspace_id."; "When subnet is supplied it must specify either id, or both key and vnet_key, otherwise the subnet silently resolves to null and the instance is created outside the intended network."; "authorization_type must be personal when specified."; "identity.type must be SystemAssigned, UserAssigned, or SystemAssigned, UserAssigned."; "A user-assigned identity type requires identity_ids or managed identity keys." |
"remote_objects" |
"Resolved workspace, subnet, and managed identity dependencies." | any |
no | {} |
- |
"location" |
"Azure location used for CAF resource naming." | string |
yes | - |
- |
"base_tags" |
"Base tags inherited by this resource." | map(any) |
no | {} |
- |
Outputs¶
| Name | Description | Sensitive | Value |
|---|---|---|---|
"id" |
"The ID of the Machine Learning Compute Instance." | - | azurerm_machine_learning_compute_instance.mlci.id |
"identity" |
"An identity block as defined below, which contains the Managed Service Identity information for this Machine Learn... |
- | try(azurerm_machine_learning_compute_instance.mlci.identity, null) |
"ssh" |
"An ssh block as defined below, which specifies policy and settings for SSH access for this Machine Learning Comput... |
- | azurerm_machine_learning_compute_instance.mlci.ssh |
"rbac_id" |
"The rbac_id of the Machine Learning Compute Instance for role assignments." | - | try(azurerm_machine_learning_compute_instance.mlci.identity[0].principal_id, null) |
Sources¶
modules/analytics/machine_learning_compute_instance/locals.tfmodules/analytics/machine_learning_compute_instance/main.tfmodules/analytics/machine_learning_compute_instance/managed_identities.tfmodules/analytics/machine_learning_compute_instance/module.tfmodules/analytics/machine_learning_compute_instance/outputs.tfmodules/analytics/machine_learning_compute_instance/variables.tf