QnA Maker Endpoint

When utilizing the azurerm_cognitive_account and specifying the kind as QnAMaker the qna_runtime_endpoint flag is a required. I have tried to utilize this but I have run into issues and not been able to find any documentation on what information should be added to the qna_runtime_endpoint.

I have tried a few different variations however the expected result has not been produced. I have wound up with an endpoint of https://westus.api.cognitive.microsoft.com/ which is not what I have seen created in manual deployments via the portal. Manually created QnA resources are in the following format for the endpoint https://appName.cognitiveservices.azure.com/

What should be specified for the qna_runtime_endpoint to get the results that I do in Manual deployments.

Doesn’t look like there are any others utilizing Terraform in this capacity

I am also in the same situation … currently I am running a cli command to update the custom-domain :frowning:

resource “null_resource” “azure-cli” {
provisioner “local-exec” {
command = “az cognitiveservices account update -n {azurerm_cognitive_account.CSQnAMaker.name} -g {var.ResourceGroupName} --custom-domain ${azurerm_cognitive_account.CSQnAMaker.name}”

depends_on = [