terraform-provider-azureml

command module
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2022 License: MIT Imports: 5 Imported by: 0

README

Terraform Provider for Azure Machine Learning

Actions Status

Terraform provider for configuring Azure Machine Learning Workspaces.

Documentation available here.

Disclaimer

This Terraform provider relies on Azure ML REST APIs which at the time of writing (26-02-2022) are still in preview and could thus introduce breaking changes from one release to another. As such, it is possible that some features of the provider will stop working properly subsequently to Azure updates.

It also likely that once that a stable version of Azure ML APIs will be released the features offered by this provider will be included in the official azurerm provider developed by Hashicorp. Once that happens, this repository will not be maintained anymore.

Usage examples

Initialize the provider
terraform {
  required_providers {
    azureml = {
      source  = "registry.terraform.io/orobix/azureml"
    }
  }
}

provider "azureml" {
  client_id       = var.client_id
  client_secret   = var.client_secret
  tenant_id       = var.tenant_id
  subscription_id = var.subscription_id
}
Configure a datastore
resource "azureml_datastore" "example" {
  resource_group_name = "rg-name"
  workspace_name      = "ws-name"
  name                = "example"
  description         = "example"
  storage_type        = "AzureBlob"

  storage_account_name   = "example"
  storage_container_name = "example"

  auth {
    credentials_type = "ServicePrincipal"
    client_id        = var.client_id
    client_secret    = var.client_secret
    tenant_id        = var.tenant_id
  }
}

Provider development quickstart

Build the provider
make build
Install the provider on your local machine
make install
Generate the provider documentation
go generate

License

This project is licensed under the MIT License.

Copyright (c) 2021 Michele Zanotti.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL