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

Request to support the Azure SQL Hyperscale Service Tier Premium Series Hardware SKU #22108

Closed
1 task done
willholtkamp opened this issue Jun 9, 2023 · 1 comment · Fixed by #23974
Closed
1 task done
Labels
enhancement service/mssql Microsoft SQL Server
Milestone

Comments

@willholtkamp
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

Terraform Version

1.4.2

AzureRM Provider Version

3.60

Affected Resource(s)/Data Source(s)

azurerm_mssql_database

Terraform Configuration Files

terraform {
  required_providers {
    azurerm = {
      source = "hashicorp/azurerm"
      version = "~> 3.60"
    }
  }
}

provider "azurerm" {
  features {}
}

data "azurerm_client_config" "current" {}

resource "azurerm_resource_group" "database" {
  name     = "my-resource-group"
  location = "eastus"
}

resource "azurerm_mssql_server" "database" {
  name                         = "my_server_name"
  resource_group_name          = azurerm_resource_group.database.name
  location                     = azurerm_resource_group.database.location
  version                      = "12.0"
}

resource "azurerm_mssql_database" "database" {
  name                           = "my_database_name"
  server_id                      = azurerm_mssql_server.database.id
  sku_name                       = "HS_PRMS_18"
}

Debug Output/Panic Output

Error: invalid value for sku_name (This is not a valid sku name. For example, a valid sku name is 'GP_S_Gen5_1','HS_Gen4_1','BC_Gen5_2', 'ElasticPool', 'Basic', 'S0', 'P1'.)

Expected Behaviour

For Azure SQL Database, Microsoft has a "Premium Series" Hardware configuration for the Hyperscale tier (not to be confused with the normal Premium Service tier). It appears the SKU name validation only support GEN4, GEN5, and serverless for the Hyperscale tier.

image

I'm not sure what would be the best way to implement this? A new constant or an update to an existing constant in the SKU validator here. Either way, I believe the AzureRM should support this option.

Actual Behaviour

Cannot provision the Premium Series hardware configuration for the Hyperscale Service Tier

Steps to Reproduce

  1. terraform init
  2. terraform plan

Important Factoids

No response

References

No response

Copy link

github-actions bot commented May 1, 2024

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 May 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement service/mssql Microsoft SQL Server
Projects
None yet
2 participants