Skip to content

Commit

Permalink
Updated references
Browse files Browse the repository at this point in the history
  • Loading branch information
TomArcherMsft committed Jan 31, 2025
1 parent cd2e16b commit 4b12eec
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions quickstart/101-ai-studio/main.tf
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Resource group
resource "random_pet" "rg_name" {
prefix = var.resource_group_name_prefix
}

// RESOURCE GROUP
resource "azurerm_resource_group" "rg" {
location = var.resource_group_location
name = random_pet.rg_name.id
Expand All @@ -11,7 +11,7 @@ resource "azurerm_resource_group" "rg" {
data "azurerm_client_config" "current" {
}

// STORAGE ACCOUNT
// Storage Account
resource "azurerm_storage_account" "default" {
name = "${var.prefix}storage${random_string.suffix.result}"
location = azurerm_resource_group.rg.location
Expand All @@ -21,7 +21,7 @@ resource "azurerm_storage_account" "default" {
allow_nested_items_to_be_public = false
}

// KEY VAULT
// Key Vault
resource "azurerm_key_vault" "default" {
name = "${var.prefix}keyvault${random_string.suffix.result}"
location = azurerm_resource_group.rg.location
Expand All @@ -33,7 +33,7 @@ resource "azurerm_key_vault" "default" {

// AzAPI AIServices
resource "azapi_resource" "AIServicesResource"{
type = "Microsoft.CognitiveServices/accounts@2023-10-01-preview"
type = "Microsoft.CognitiveServices/accounts@2024-10-01"
name = "AIServicesResource${random_string.suffix.result}"
location = azurerm_resource_group.rg.location
parent_id = azurerm_resource_group.rg.id
Expand Down Expand Up @@ -62,7 +62,7 @@ resource "azapi_resource" "AIServicesResource"{

// Azure AI Hub
resource "azapi_resource" "hub" {
type = "Microsoft.MachineLearningServices/workspaces@2024-04-01-preview"
type = "Microsoft.MachineLearningServices/workspaces/connections@2024-10-01"
name = "${random_pet.rg_name.id}-aih"
location = azurerm_resource_group.rg.location
parent_id = azurerm_resource_group.rg.id
Expand Down

0 comments on commit 4b12eec

Please sign in to comment.