Reputation: 1386
I tried to create Azure AI Multi-Service (kind=CognitiveServices) account using terraform's azurerm_cognitive_account
like mentioned here.
But it reports error:
Error: creating Account (Subscription: "xxx"
Resource Group Name: "yyy"
Account Name: "xxx-ais-msa"): unexpected status 400 with error: ResourceKindRequireAcceptTerms:
This subscription cannot create CognitiveServices until you agree to Responsible AI terms for this resource.
You can agree to Responsible AI terms by creating a resource through the Azure Portal then trying again.
For more detail go to https://aka.ms/csrainotice
with module.azureai_multiservice.azurerm_cognitive_account.azureai_multiservices["xxx-ais-msa"],
on ../modules/LandingZone/AIKM/azureai_multiservice/main.tf line 13, in resource "azurerm_cognitive_account" "azureai_multiservices":
13: resource "azurerm_cognitive_account" "azureai_multiservices" {
##[error]Bash exited with code '1'.
##[section]Finishing: Terraform Apply
csrainotice
?Upvotes: 1
Views: 1960
Reputation: 1
In order to satisfy this requirement you must create an "Azure AI Services" resource using this Azure Portal page: https://portal.azure.com/#create/Microsoft.CognitiveServicesAllInOne. If your Subscription has not previously agreed to the terms it will display the Responsible AI Notice and a checkbox above it that requires you acknowledge the Notice.
Upvotes: 0