You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
locked as resolved and limited conversation to collaborators
Oct 10, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Community Note
Terraform (and AzureRM Provider) Version
provider "azurerm" {
| version = "=2.0.0"
| features {}
Affected Resource(s)
azurerm_cognitive_account
Terraform Configuration Files
resource "azurerm_cognitive_account" "anomaly_detector" {
| name = var.service_name
| location = var.location
| resource_group_name = var.rg_name
| kind = "AnomalyDetector"
|
| sku_name = var.sku_name
}
Debug Output
N/A
Panic Output
N/A
Expected Behavior
Anomaly Detector should have been created
Actual Behavior
Error: expected kind to be one of [Academic Bing.Autosuggest Bing.Autosuggest.v7 Bing.CustomSearch Bing.Search Bing.Search.v7 Bing.Speech Bing.SpellCheck Bing.SpellCheck.v7 CognitiveServices ComputerVision ContentModerator CustomSpeech CustomVision.Prediction CustomVision.Training Emotion Face FormRecognizer ImmersiveReader LUIS LUIS.Authoring QnAMaker Recommendations SpeakerRecognition Speech SpeechServices SpeechTranslation TextAnalytics TextTranslation WebLM], got AnomalyDetector
Steps to Reproduce
Using Terraform Enterprise
Important Factoids
We logged a support call with Microsoft who confirmed the following: -
"Go Azure management SDK doesn’t validate “kind” on the SDK side - https://github.com/Azure/azure-sdk-for-go/tree/master/services/cognitiveservices/mgmt/2017-04-18/cognitiveservices
Can you please check on the terraform-provider SDK specifically if the newer version of it is still checking the “kind” or not?"
We checked and can see that Terraform does check for 'kind' - so we are requesting that this be removed inline with Microsoft SDK
https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/azurerm/internal/services/cognitive/cognitive_account_resource.go
The text was updated successfully, but these errors were encountered: