Skip to content
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

Creating Workspace from ML Template #2971

Closed
ibeddows74 opened this issue Dec 15, 2022 · 1 comment · Fixed by #3052
Closed

Creating Workspace from ML Template #2971

ibeddows74 opened this issue Dec 15, 2022 · 1 comment · Fixed by #3052
Labels
bug Something isn't working

Comments

@ibeddows74
Copy link

Newly deployed TRE

Attempting to create a New Workspace based on the ML Template and we get a failure in deploying with the following message in the Operations tab:

Resource Id
: 76fa45e8-c08e-4e2f-916c-0dab34e57a77
Resource Path
: /workspaces/942a3510-9cd8-469f-968b-555451d72e6d/workspace-services/76fa45e8-c08e-4e2f-916c-0dab34e57a77
Resource Version
: 0
Status
: deployment_failed
Action
: install
Message
: Multi step pipeline failed on step main
Created
: Tue Dec 13 2022 15:53:37 GMT+0000 (2 days ago)
Updated
: Tue Dec 13 2022 15:56:32 GMT+0000 (2 days ago)
User
: Ian Beddows (AZ Admin)

Can anybody advise?

Thanks

@marrobi marrobi transferred this issue from microsoft/AzureTRE-Deployment Dec 15, 2022
@marrobi
Copy link
Member

marrobi commented Dec 15, 2022

Hi @ibeddows74 there has a been a breaking change with the AML API and terraform. We will a have in fixed in the next release, likely early January, but in the meantime you need to create your own custom version of the bundle, and replace the azapi definition in main.tf in the AML bundle with:

resource "azurerm_machine_learning_workspace" "aml_workspace" {
  name                          = local.workspace_name
  resource_group_name           = data.azurerm_resource_group.ws.name
  location                      = data.azurerm_resource_group.ws.location
  application_insights_id       = azurerm_application_insights.ai.id
  container_registry_id         = azurerm_container_registry.acr.id
  friendly_name                 = var.display_name
  description                   = var.description
  high_business_impact          = true
  key_vault_id                  = data.azurerm_key_vault.ws.id
  public_network_access_enabled = var.is_exposed_externally ? true : false
  storage_account_id            = azurerm_storage_account.aml.id

 

  identity {
    type = "SystemAssigned"
  }
} 

also increase the azurerm provider version to version = "=3.32.0"

@marrobi marrobi added the bug Something isn't working label Dec 16, 2022
@marrobi marrobi linked a pull request Jan 4, 2023 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants