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

Support for Azure Machine Learning datastores #14701

Closed
Telemaco019 opened this issue Dec 21, 2021 · 4 comments
Closed

Support for Azure Machine Learning datastores #14701

Telemaco019 opened this issue Dec 21, 2021 · 4 comments

Comments

@Telemaco019
Copy link

Telemaco019 commented Dec 21, 2021

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 "+1" or "me too" comments, 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

Description

It would be nice to have Terraform resources for managing Azure Machine Learning Workspace internal assets, especially datastores, since they are often linked to other Azure resources already managed by Terraform (e.g. Service Principals for authentication, Storage Accounts, databases etc.).

I've started developing a dedicated provider for configuring AML Workspaces (you can find it in my GitHub repos) which at the moment only supports datastore resources/datasources as shown below. If this feature is of interest, I would like to implement it in azurerm provider by adapting what I've developed so far for my custom provider.

New or Affected Resource(s)

  • azurerm_machine_learning_datastore

Potential Terraform Configuration

Datastore resource

resource "azurerm_machine_learning_datastore" "example" {
  resource_group_name = "example"
  workspace_name      = "example"
  name                = "example"
  description         = "example"
  storage_type        = "AzureBlob"

  storage_account_name   = "example"
  storage_container_name = "example"

  auth  {
    credentials_type = "AzureDataLakeGen2"
    client_id        = "client-id"
    client_secret    = "client-secret"
    tenant_id        = "tenant-id"
  }
}

Datastore data sources

data "azurerm_machine_learning_datastores" "all_datastores" {
  resource_group_name = "example"
  workspace_name      = "example"
}
data "azurerm_machine_learning_datastore" "datastore_by_name" {
  resource_group_name = "example"
  workspace_name      = "example"
  name                = "example"
}

References

@stephybun
Copy link
Member

Closed by #20045, #19934, #19909

@tete17
Copy link

tete17 commented Apr 17, 2024

Hey @stephybun I may be getting this wrong but all the databases as datastores are missing

@stephybun
Copy link
Member

@tete17 that may well be likely. As far as I know/can remember we're unable to support a generic azurerm_machine_learning_datastore resource, so the exact ask of this issue is a little vague. If there is a particular datastore missing that you'd like to have added I'd suggest opening another issue including the specific datastores that you'd like to have added.

Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants