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

azurerm_cognitive_deployment leads to failing plan when used as in the docs #27167

Closed
1 task done
nebea opened this issue Aug 23, 2024 · 1 comment · Fixed by #27173
Closed
1 task done

azurerm_cognitive_deployment leads to failing plan when used as in the docs #27167

nebea opened this issue Aug 23, 2024 · 1 comment · Fixed by #27173

Comments

@nebea
Copy link

nebea commented Aug 23, 2024

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 comments along the lines of "+1", "me too" or "any updates", 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.

Terraform Version

1.9.0

AzureRM Provider Version

4.0.0

Affected Resource(s)/Data Source(s)

azurerm_cognitive_deployment

Terraform Configuration Files

terraform {
  required_version = ">= 1.0"

  backend "azurerm" {
    resource_group_name  = "rg-platform-rbadas-ops-assistant-shared"
    storage_account_name = "strbadasopsassistanttf"
    container_name       = "dev"
    key                  = "infra.terraform.tfstate"
    required_version     = ">= 0.13"
  }
}

provider "azurerm" {
  features {}
}

resource "azurerm_cognitive_deployment" "model_gpt4o" {
  name                 = "gpt-4o"
  rai_policy_name      = "Microsoft.Default"
  cognitive_account_id = azurerm_cognitive_account.openai_account.id
  model {
    format  = "OpenAI"
    name    = "gpt-4o"
    version = "2024-05-13"
  }

  scale {
    type     = "Standard"
    capacity = 200
  }
}

Debug Output/Panic Output

-

Expected Behaviour

No breaking changes from 3.x to 4.x as the documentation is the same for 4.0.0.

Actual Behaviour

image

Steps to Reproduce

terraform plan

Important Factoids

no

References

No response

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 Sep 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
3 participants