Dependencies for AML Workspace Role Assignments
Overview
Dependencies for AML workspace role assignments include various Azure resources, such as storage, compute clusters, and workspace configurations. Terraform is used to manage these dependencies to ensure secure access and efficient resource utilization.
Dependency Configuration
Each dependency configuration includes:
- Mock Outputs: Simulate outputs during testing.
- Merge Strategy: Determines how outputs integrate with the state.
Dependency Blocks
ADLS Dependency
Defines dependencies for Azure Data Lake Storage (ADLS).
dependency "adls" {
config_path = "../../../adls/storage_accounts"
mock_outputs = {
buckets = {
"bronze" = {
name = "mock_name"
id = "/subscriptions/aa/resourceGroups/aa/providers/Microsoft.Storage/storageAccounts/mock_name"
}
}
}
}
Compute Dependency
Specifies dependencies for AML workspace identity and configuration.
dependency "compute" {
config_path = "../../compute"
mock_outputs = {
compute_clusters = {
"cpu-cluster" = { ... },
"gpu-cluster" = { ... }
}
}
}
Workspace Dependency
dependency "workspace" {
config_path = "../../workspace"
mock_outputs = {
name = "mock_name"
id = "/subscriptions/aa/resourceGroups/aa/providers/Microsoft.MachineLearningServices/workspaces/mock_name"
}
}