Azure / azure-rest-api-specs

The source for REST API specifications for Microsoft Azure.
MIT License
2.69k stars 5.11k forks source link

[BUG] Missing Enterprise_E200 sku for RedisEnterprise #31589

Open aiqiaoy opened 3 days ago

aiqiaoy commented 3 days ago

API Spec link

https://github.com/Azure/azure-rest-api-specs/blob/2afa5b356adf6cf51209d2cf28d38644c69d9832/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2024-06-01-preview/redisenterprise.json

API Spec version

2024-06-01-preview

Describe the bug

2024-06-01-preview is missing Enterprise_E200 sku which was supported in 2023-10-01-preview

2023-10-01-preview: https://github.com/Azure/azure-rest-api-specs/blob/main/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-10-01-preview/redisenterprise.json

2024-06-01-preview: https://github.com/Azure/azure-rest-api-specs/blob/main/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2024-06-01-preview/redisenterprise.json#L1406-L1414

Expected behavior

Enterprise_E200 to be supported in all version post 2023-10-01-preview

Actual behavior

Enterprise_E200 is not support and our terraform pipeline is now failing with

Error: expected "sku_name" "name" segment to be one of ["Enterprise_E5", "Enterprise_E50", "Enterprise_E1", "Enterprise_E100", "Enterprise_E10", "Enterprise_E20", "EnterpriseFlash_F1500", "EnterpriseFlash_F700" or "EnterpriseFlash_F300"], got "Enterprise_E200-10"
│ 
│   with module.database.module.rediscluster["xxxx"].azurerm_redis_enterprise_cluster.redis_cluster,
│   on .terraform/modules/database/modules/azure-redis-enterprise/main.tf line 14, in resource "azurerm_redis_enterprise_cluster" "redis_cluster":

after upgrading to use hashicorp/azurerm version 4.0+

Reproduction Steps

Use terraform hashicorp/azurerm version 4.0+ to provision redis enterprise in azure with E200 sku

Environment

No response

v-jiaodi commented 3 days ago

@revanthballa1188 Please help take a look, thanks.