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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for setup script in azure_machine_learning_compute_instance #26494

Open
1 task done
michaelbdf opened this issue Jun 27, 2024 · 0 comments
Open
1 task done

Support for setup script in azure_machine_learning_compute_instance #26494

michaelbdf opened this issue Jun 27, 2024 · 0 comments

Comments

@michaelbdf
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Community Note

  • Please vote on this issue by adding a 馃憤 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave comments along the lines of "+1", "me too" or "any updates", they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment and review the contribution guide to help.

Description

Azure Machine Learning provides the possibility to specify a setup script when creating a Compute Instance.
It would be great if the azurerm provider exposed this functionality.

New or Affected Resource(s)/Data Source(s)

azurerm_machine_learning_compute_instance

Potential Terraform Configuration

resource "azurerm_machine_learning_compute_instance" "example" {
  name                          = "example"
  location                      = azurerm_resource_group.example.location
  machine_learning_workspace_id = azurerm_machine_learning_workspace.example.id
  virtual_machine_size          = "STANDARD_DS2_V2"
  authorization_type            = "personal"
  setup_scripts {
    creation_script {
     script_arguments = "string"
     script_data      = "string"
     script_source    = "string"
     timeout          = "string"
   },
    startup_script {
     script_arguments = "string"
     script_data      = "string"
     script_source    = "string"
     timeout          = "string"
   }
  }
  subnet_resource_id = azurerm_subnet.example.id
  description        = "foo"
  tags = {
    foo = "bar"
  }
}

References

Azure API reference on ML Workspace Computes: https://learn.microsoft.com/en-us/azure/templates/microsoft.machinelearningservices/2023-10-01/workspaces/computes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants