Skip to content

Commit 20a846a

Browse files
authored
Merge pull request microsoft#68 from denniseik/feature/azureml-workspace
Looks great!
2 parents abc1bd8 + d814115 commit 20a846a

File tree

10 files changed

+466
-296
lines changed

10 files changed

+466
-296
lines changed

.gitignore

Lines changed: 0 additions & 296 deletions
This file was deleted.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
terraform {
2+
required_version = ">=0.15.0"
3+
4+
required_providers {
5+
azurerm = {
6+
source = "hashicorp/azurerm"
7+
version = "=2.56.0"
8+
}
9+
}
10+
}
11+
12+
provider "azurerm" {
13+
features {}
14+
}
15+
16+
data "azurerm_client_config" "current" {}
17+
18+
resource "azurerm_resource_group" "default" {
19+
name = "rg-${var.name}-${var.environment}"
20+
location = var.location
21+
}
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Azure Machine Learning workspace
2+
3+
This deployment configuration specifies an [Azure Machine Learning workspace](https://docs.microsoft.com/en-us/azure/machine-learning/concept-workspace),
4+
and its associated resources including Azure Key Vault, Azure Storage, Azure Application Insights and Azure Container Registry.
5+
6+
This configuration describes the minimal set of resources you require to get started with Azure Machine Learning.
7+
8+
## Resources
9+
10+
| Terraform Resource Type | Description |
11+
| - | - |
12+
| `azurerm_resource_group` | The resource group all resources get deployed into |
13+
| `azurerm_application_insights` | An Azure Application Insights instance associated to the Azure Machine Learning workspace |
14+
| `azurerm_key_vault` | An Azure Key Vault instance associated to the Azure Machine Learning workspace |
15+
| `azurerm_storage_account` | An Azure Storage instance associated to the Azure Machine Learning workspace |
16+
| `azurerm_container_registry` | An Azure Container Registry instance associated to the Azure Machine Learning workspace |
17+
| `azurerm_machine_learning_workspace` | An Azure Machine Learning workspace instance |
18+
19+
## Variables
20+
21+
| Name | Description |
22+
|-|-|
23+
| name | Name of the deployment |
24+
| environment | The deployment environment name (used for pre- and postfixing resource names) |
25+
| location | The Azure region used for deployments |
26+
27+
## Usage
28+
29+
```bash
30+
terraform plan -var name=azureml567 -out demo.tfplan
31+
32+
terraform apply "demo.tfplan"
33+
```
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
variable "name" {
2+
type = string
3+
description = "Name of the deployment"
4+
}
5+
6+
variable "environment" {
7+
type = string
8+
description = "Name of the environment"
9+
default = "dev"
10+
}
11+
12+
variable "location" {
13+
type = string
14+
description = "Location of the resources"
15+
default = "East US"
16+
}

0 commit comments

Comments
 (0)