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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for QNAMaker.V2 #9271

Open
jmyers82 opened this issue Nov 11, 2020 · 2 comments
Open

Support for QNAMaker.V2 #9271

jmyers82 opened this issue Nov 11, 2020 · 2 comments

Comments

@jmyers82
Copy link

jmyers82 commented Nov 11, 2020

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

Description

QnaMaker.V2 was released in preview this week. Would like to see this supported in Terraform, this cleans up the amount of resources required to build out the old QnaMaker (5 resources).

https://techcommunity.microsoft.com/t5/azure-ai/introducing-qna-maker-managed-now-in-public-preview/ba-p/1845575

New or Affected Resource(s)

azurerm_cognitive_account - new kind of QnAMaker.V2

NOTE: location is limited to southcentralus currently. Requires adding a search service location and sku as this service is created as part of this setup as a managed instance.

Potential Terraform Configuration

resource "azurerm_cognitive_account" "example" {
  name                = "example-account"
  location            = southcentralus
  resource_group_name = azurerm_resource_group.example.name
  kind               = "QnAMaker.V2"
  sku_name           = "S0"

  search_location   = "eastus"
  search_sku        = "standard"

  tags = {
    Acceptance = "Test"
  }
}
@FrancoCorleone
Copy link

Is it possible to at least do that with azure CLI? I can't event find that option. And they claim on Coginitive Services page that it's available in WestEurope which is, obviously, a lie...

@pgr-jeremy-m
Copy link

pgr-jeremy-m commented Sep 14, 2021

I think this needs to be updated to now show the following setup as MSFT has changed the name / type of the QnAMaker.V2 resource.

resource "azurerm_cognitive_account" "example" {
  name                = "example-account"
  location            = "eastus"
  resource_group_name = azurerm_resource_group.example.name
  kind               = "TextAnalytics"
  sku_name           = "S"

  search_location   = "eastus"
  search_sku        = "standard"

  tags = {
    Acceptance = "Test"
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants