-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Description
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.12.*
AzureRM Provider Version
4.34.0
Affected Resource(s)/Data Source(s)
azurerm_redis_enterprise_database
Terraform Configuration Files
resource "azurerm_redis_enterprise_database" "example" {
name = "example-db"
cluster_id = azurerm_redis_enterprise_cluster.example.id
client_protocol = "Encrypted"
port = 10000
resource_group_name = azurerm_resource_group.example.name
sku_name = "E1" # Fails – not recognized as valid SKU
}
Debug Output/Panic Output
│ Error: expected sku_name to be one of [Enterprise_E10 Enterprise_E20 Enterprise_E50 ...], got E1
│
│ with azurerm_redis_enterprise_database.example,
│ on main.tf line 12, in resource "azurerm_redis_enterprise_database" "example":
│ 12: sku_name = "E1"
│
Expected Behaviour
Terraform should successfully plan and apply with the E1 SKU, as this SKU exists in Azure and was included in the RedisEnterprise SDK update (2024-10-01).
Actual Behaviour
Plan/apply fails with:
│ Error: expected sku_name to be one of [Enterprise_E10 Enterprise_E20 Enterprise_E50 ...], got E1
Steps to Reproduce
- Use provider version 4.34.0
- Define a Redis Enterprise database with sku_name = "E1"
- Run terraform plan
Important Factoids
- Running in Azure Commercial (Global) - Region: East US - Confirmed that E1 SKU is visible and deployable via Azure Portal and CLI. - The issue only occurs when using Terraform provider (azurerm).
References
• PR #28280 – Update the redisenterprise sdk to 2024-10-01 to update SKU list
• PR #28516 – Revert update to 2024-10-01 SDK to update SKU list
🧩 Additional Context
The E1
SKU was introduced in PR #28280
(Update the redisenterprise sdk to 2024-10-01 to update SKU list) but was later reverted in
#28516.
As a result, Terraform users cannot deploy Redis Enterprise clusters using the E1
SKU,
even though it’s available in the Azure Portal and SDK.
Requesting confirmation and re-addition of E1 in the upcoming SDK refresh cycle.