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

Support for ContentSafety in azurerm_cognitive_account #23531

Closed
1 task done
keithswright opened this issue Oct 12, 2023 · 4 comments · Fixed by #24205
Closed
1 task done

Support for ContentSafety in azurerm_cognitive_account #23531

keithswright opened this issue Oct 12, 2023 · 4 comments · Fixed by #24205

Comments

@keithswright
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment and review the contribution guide to help.

Description

When creating a new azurerm_cognitive_account resource, we are not able to create "Content Safety" resources because it is not in the allowed values for "kind".

Error: expected kind to be one of [Academic AnomalyDetector 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 MetricsAdvisor OpenAI Personalizer QnAMaker Recommendations SpeakerRecognition Speech SpeechServices SpeechTranslation TextAnalytics TextTranslation WebLM], got ContentSafety

The deployment template on azure uses a value of

"kind": "ContentSafety"

So I assume it can jus be added to the "find" ValidateFunc in cognitive_account_resource.go

New or Affected Resource(s)/Data Source(s)

azurerm_cognitive_account

Potential Terraform Configuration

resource "azurerm_resource_group" "example" {
  name     = "example-resources"
  location = "West Europe"
}

resource "azurerm_cognitive_account" "example" {
  name                = "example-account"
  location            = azurerm_resource_group.example.location
  resource_group_name = azurerm_resource_group.example.name
  kind                = "ContentSafety"
  sku_name = "S0"
}

References

No response

@rcskosir
Copy link
Contributor

@keithswright Thank you for taking the time to open this feature request!

@dsczltch
Copy link

dsczltch commented Nov 6, 2023

Hi, we are also looking for this feature. We are unable to use this service until it's supported by the terraform provider.

@vagmark30
Copy link

Hey, I am too looking for this feature! Any updates?

Copy link

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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
4 participants