-
Notifications
You must be signed in to change notification settings - Fork 173
Update unrestricted workspace to align with base - missing log_analytics_workspace_name output #4762
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…ers and outputs Co-authored-by: marrobi <[email protected]>
Co-authored-by: marrobi <[email protected]>
|
@copilot please address my comments |
…ed workspace Co-authored-by: marrobi <[email protected]>
|
@copilot can we remove: |
…ce template_schema.json Co-authored-by: marrobi <[email protected]>
... Removed
(78ea2d7) |
Unit Test Results0 tests 0 ✅ 0s ⏱️ Results for commit f89ba97. ♻️ This comment has been updated with latest results. |
|
/test-force-approve b67cc07 Builds locally and tested. Not covered other than build in e2e. |
|
🤖 pr-bot 🤖 ✅ Marking tests as complete (for commit b67cc07) (in response to this comment from @marrobi) |
james-annages
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
jonnyry
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR fixes Azure Machine Learning workspace deployment failures in unrestricted workspaces by aligning the unrestricted workspace template with the base workspace template. The root cause was missing outputs (particularly log_analytics_workspace_name) that workspace services depend on for proper deployment.
Key changes:
- Added four critical missing outputs:
log_analytics_workspace_name,backup_vault_name,vm_backup_policy_id, andfileshare_backup_policy_id - Added supporting parameters for backup configuration (
enable_backup,storage_account_redundancy) and multi-subscription deployments (workspace_subscription_id,deploy_to_another_subscription) - Removed airlock-related UI properties from template_schema.json (airlock is disabled by default for unrestricted workspaces)
- Incremented version from 0.13.5 to 0.13.6 following semantic versioning guidelines for backward-compatible bug fixes
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| templates/workspaces/unrestricted/porter.yaml | Added missing parameters (workspace_subscription_id, storage_account_redundancy, enable_backup, enable_dns_policy) and outputs (backup_vault_name, vm_backup_policy_id, fileshare_backup_policy_id, log_analytics_workspace_name); updated version to 0.13.6; ensured parameters are consistently passed to all terraform actions |
| templates/workspaces/unrestricted/template_schema.json | Added new user-facing properties (storage_account_redundancy, enable_backup, deploy_to_another_subscription); removed airlock-related properties and conditional logic; added conditional logic for workspace_subscription_id; updated ui_order array |
| CHANGELOG.md | Added bug fix entry for #4768 and component version update for unrestricted workspace v0.13.6 |
|
/test-force-approve f89ba97 |
|
🤖 pr-bot 🤖 ✅ Marking tests as complete (for commit f89ba97) (in response to this comment from @tamirkamara) |

Resolves #4746
What is being addressed
Azure Machine Learning workspace deployment fails in unrestricted workspaces with workspace ID parsing error. The error occurs because workspace services expect outputs that are present in base workspace but missing in unrestricted workspace, specifically
log_analytics_workspace_name.How is this addressed
Aligned unrestricted workspace template with base workspace:
Added missing outputs to
porter.yaml:log_analytics_workspace_name(critical - resolves the parsing error)backup_vault_namevm_backup_policy_idfileshare_backup_policy_idAdded missing parameters to
porter.yaml:workspace_subscription_idstorage_account_redundancyenable_backupenable_dns_policy(kept in porter.yaml with defaultfalse, not exposed in UI)Updated all terraform sections (install/upgrade/uninstall) to pass new parameters and capture new outputs
Updated
template_schema.json:workspace_subscription_idenable_airlockproperty and all associated airlock-related fields (configure_review_vms, airlock_review_config) as airlock functionality is not applicable to unrestricted workspacesenable_dns_policyfrom user-facing options (DNS protections not needed for unrestricted workspaces)Incremented version from 0.13.5 to 0.13.6 (patch version per versioning guidelines)
Updated CHANGELOG.md with bug fix entry
Preserved unrestricted workspace specifics:
enable_airlockdefaults tofalsein porter.yamlOriginal prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.