Azure / terraform

Source code for the Azure Marketplace Terraform development VM package.
MIT License
693 stars 784 forks source link

CustomVision Kind : both #323

Open pd-illinois opened 3 months ago

pd-illinois commented 3 months ago

Is there an existing issue for this?

Where would you like this feature added?

Examples (Quickstart, Samples, etc.)

Is this feature ask due to a problem that you are encountering?

When using terraform to create CustomVision resource, only "CustomVision.Prediction" or "CustomVision.Training" is supported.

resource "azurerm_cognitive_account" "cognitive_service" {
  name                = "CognitiveService-${random_string.azurerm_cognitive_account_name.result}"
  location            = azurerm_resource_group.rg.location
  resource_group_name = azurerm_resource_group.rg.name
  sku_name            = var.sku
  kind                = "CustomVision.Prediction"
}

However the Azure Portal also supports a resource type both. image

How can this be supported with Terraform?

Describe potential solutions.

Adding a new parameter in kind field to support Custom Vision resource type both.

Anything else?

No response