-
Notifications
You must be signed in to change notification settings - Fork 173
Description
Describe the bug
When deploying an Azure Machine Learning workspace in an unrestricted workspace using UI, The deployment fails with a Workspace ID parsing error.
Note:
- Same steps works successfully in restricted workspace / base workspace.
- Tried both with expose externally enabled and disabled
- Same results for eastus2 and switzerlandnorth region.
The parsed Resource ID was missing a value for the segment at position 7
(which should be the user specified value for this workspace [for example "workspaceValue"]).
Error: parsing "/subscriptions/*******/resourceGroups/rg-tre-ws/providers/Microsoft.OperationalInsights/workspaces/": parsing the Workspace ID: the segment at position 7 didn't match
Expected a Workspace ID that matched:
/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/example-resource-group/providers/Microsoft.OperationalInsights/workspaces/workspaceValue
However this value was provided:
/subscriptions/*******/resourceGroups/rg-tre-ws/providers/Microsoft.OperationalInsights/workspaces/
The parsed Resource ID was missing a value for the segment at position 7
(which should be the user specified value for this workspace [for example "workspaceValue"]).
with azurerm_application_insights.ai,
on main.tf line 94, in resource "azurerm_application_insights" "ai":
94: workspace_id = data.azurerm_log_analytics_workspace.ws.id
Steps to reproduce
- Create Azure Machine Learning Workspace Services in Unrestricted Workspace
- Deployment fails with error "workspace-service is updating_failed"
Error: parsing "/subscriptions/<subscription_id>/resourceGroups/rg-tre/providers/Microsoft.OperationalInsights/workspaces/": parsing the Workspace ID: the segment at position 7 didn't match
Expected a Workspace ID that matched:
/subscriptions/<example_subscription_id>/resourceGroups/example-resource-group/providers/Microsoft.OperationalInsights/workspaces/workspaceValue
However this value was provided:
/subscriptions/<subscription_id>/resourceGroups/rg-tre/providers/Microsoft.OperationalInsights/workspaces/
The parsed Resource ID was missing a value for the segment at position 7 (which should be the user-specified value for this workspace [for example "workspaceValue"]).
with azurerm_application_insights.ai, on main.tf line 94, in resource "azurerm_application_insights" "ai":
94: workspace_id = data.azurerm_log_analytics_workspace.ws.id
Azure TRE release version (main):
Azure TRE
UI Version:
0.8.15
API Version:
0.24.5
Deployed Azure TRE components - click the (i) in the UI:
Restricted Workspace
Base Workspace
Airlock Import Review Workspace
Restricted Workspace workspace services deployed:
Azure Machine Learning
Apache Guacamole - Virtual Desktop Service