Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure Cognitive Service - Creation Issue #7214

Closed
roshanp85 opened this issue Jun 4, 2020 · 2 comments
Closed

Azure Cognitive Service - Creation Issue #7214

roshanp85 opened this issue Jun 4, 2020 · 2 comments

Comments

@roshanp85
Copy link

roshanp85 commented Jun 4, 2020

cognitiveservices.AccountsClient#Create: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code="ApiPropertiesInvalid" Message="The given 'apiProperties' '{\r\n "qnaRuntimeEndpoint": ""\r\n}' is invalid. Validation errors: Property 'qnaRuntimeEndpoint' has not been defined and the schema does not allow additional properties. Path 'apiProperties.qnaRuntimeEndpoint'."

Terraform Code:

resource "azurerm_cognitive_account" "cognitive_account" {
name = var.cognitive_account_name
location = var.resource_group_location
resource_group_name = var.resource_group_name
kind = "CognitiveServices"
sku_name = "S0"
tags = var.tags
}

While executing the above code, I get the error for attribute qnaRuntimeEndpoint, even though this is an optional component. and kind is "CognitiveServices".

Has anyone seen this issue ? I am currently using provider: 2.9.0

provider "azurerm" {
version = "= 2.9.0"
features {
}
}

@tombuildsstuff
Copy link
Contributor

Duplicate of #6343

@ghost
Copy link

ghost commented Jul 5, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!

@ghost ghost locked and limited conversation to collaborators Jul 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants