101-machine-learning patch (#172)

* fix 101-machine-learning example

* fix example
This commit is contained in:
Dingjia Chen
2023-03-01 23:37:30 -06:00
committed by GitHub
parent 7c06cacc7e
commit 452dac32c9
6 changed files with 81 additions and 35 deletions

View File

@ -3,11 +3,10 @@ resource "random_string" "ci_prefix" {
length = 8
upper = false
special = false
number = false
}
# Compute instance
resource "azurerm_machine_learning_compute_instance" "compute_instance" {
resource "azurerm_machine_learning_compute_instance" "main" {
name = "${random_string.ci_prefix.result}instance"
location = azurerm_resource_group.default.location
machine_learning_workspace_id = azurerm_machine_learning_workspace.default.id