File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ data "azurerm_client_config" "current" {}
2+
3+ resource "azurerm_resource_group" "example" {
4+ name = " RGbrownML"
5+ location = " East US 2"
6+ }
7+
8+ resource "azurerm_application_insights" "example" {
9+ name = " wwsbrownai"
10+ location = azurerm_resource_group. example . location
11+ resource_group_name = azurerm_resource_group. example . name
12+ application_type = " web"
13+ }
14+
15+ resource "azurerm_key_vault" "example" {
16+ name = " wsbrownkeyvault"
17+ location = azurerm_resource_group. example . location
18+ resource_group_name = azurerm_resource_group. example . name
19+ tenant_id = data. azurerm_client_config . current . tenant_id
20+ sku_name = " premium"
21+ }
22+
23+ resource "azurerm_storage_account" "example" {
24+ name = " wsbrownsa"
25+ location = azurerm_resource_group. example . location
26+ resource_group_name = azurerm_resource_group. example . name
27+ account_tier = " Standard"
28+ account_replication_type = " GRS"
29+ }
30+
31+ resource "azurerm_machine_learning_workspace" "example" {
32+ name = " wsbrownml"
33+ location = azurerm_resource_group. example . location
34+ resource_group_name = azurerm_resource_group. example . name
35+ application_insights_id = azurerm_application_insights. example . id
36+ key_vault_id = azurerm_key_vault. example . id
37+ storage_account_id = azurerm_storage_account. example . id
38+
39+ identity {
40+ type = " SystemAssigned"
41+ }
42+ }
You can’t perform that action at this time.
0 commit comments