Skip to content

Commit

Permalink
Update main.tf
Browse files Browse the repository at this point in the history
I'm on the Azure AI services documentation team. According to PM, we recommend that customers start using the AIServices "kind" instead of the "CognitiveServices" kind. So, we want the sample to show how to create AIServices.

This PR might take a dependency on one of these PRs to complete first.

hashicorp/terraform-provider-azurerm#26713
 
hashicorp/terraform-provider-azurerm#26008
  • Loading branch information
eric-urban authored Jul 22, 2024
1 parent 674f3d1 commit 0a1eaef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions quickstart/101-cognitive-services-account/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ resource "random_string" "azurerm_cognitive_account_name" {
}

resource "azurerm_cognitive_account" "cognitive_service" {
name = "CognitiveService-${random_string.azurerm_cognitive_account_name.result}"
name = "AIServices-${random_string.azurerm_cognitive_account_name.result}"
location = azurerm_resource_group.rg.location
resource_group_name = azurerm_resource_group.rg.name
sku_name = var.sku
kind = "CognitiveServices"
kind = "AIServices"
}

0 comments on commit 0a1eaef

Please sign in to comment.