You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: `license_type` can only be configured when `sku.0.tier` is set to `GeneralPurpose` or `BusinessCritical`
Expected Behaviour
when changing the var db_performance_tier from "high" to "", the pool should get downgraded from vCore model to eDTU model.
Actual Behaviour
terraform apply fails with this error:
Error: `license_type` can only be configured when `sku.0.tier` is set to `GeneralPurpose` or `BusinessCritical`
the plan doesn't show the license_type parameter being changed back to null:
Terraform will perform the following actions:
# module.sql_server.azurerm_mssql_elasticpool.this will be updated in-place
~ resource "azurerm_mssql_elasticpool" "this" {
id = "XXXX"
name = "XXXX"
tags = {}
# (8 unchanged attributes hidden)
~ per_database_settings {
~ max_capacity = 6 -> 50
~ min_capacity = 0.25 -> 10
}
~ sku {
~ capacity = 6 -> 50
- family = "Gen5" -> null
~ name = "GP_Gen5" -> "StandardPool"
~ tier = "GeneralPurpose" -> "Standard"
}
}
Plan: 0 to add, 1 to change, 0 to destroy.
Steps to Reproduce
terraform apply with the var.db_performance_tier set to ""
terraform apply with the var.db_performance_tier set to "high"
terraform apply with the var.db_performance_tier set back to ""
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered:
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.
Is there an existing issue for this?
Community Note
Terraform Version
1.5.0
AzureRM Provider Version
3.62.1
Affected Resource(s)/Data Source(s)
azurerm_mssql_elasticpool
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
when changing the var db_performance_tier from "high" to "", the pool should get downgraded from vCore model to eDTU model.
Actual Behaviour
terraform apply fails with this error:
the plan doesn't show the license_type parameter being changed back to null:
Steps to Reproduce
terraform apply with the var.db_performance_tier set to ""
terraform apply with the var.db_performance_tier set to "high"
terraform apply with the var.db_performance_tier set back to ""
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: