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

Support for Enterprise SKUs for Azure Redis Service #27080

Open
1 task done
denisp13 opened this issue Aug 16, 2024 · 3 comments · May be fixed by #28280
Open
1 task done

Support for Enterprise SKUs for Azure Redis Service #27080

denisp13 opened this issue Aug 16, 2024 · 3 comments · May be fixed by #28280

Comments

@denisp13
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 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.

Description

As per documentation , Azure Cloud supports now Enterprise Redis SKU , allowing Redis features like Search, JSON, Vector similarity search, etc
https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-whats-new#enterprise-tier-e1-preview-sku

It seems to be not possible to create such SKU with the current Azurerm provider , the plan is running thru but the apply is failing

New or Affected Resource(s)/Data Source(s)

~> 3.107.0

Potential Terraform Configuration

resource "azurerm_redis_cache" "example" {
  name                = "example-cache"
  location            = azurerm_resource_group.example.location
  resource_group_name = azurerm_resource_group.example.name
  capacity            = 1
  family              = "E1"
  sku_name            = "Enterprise"
  enable_non_ssl_port = false
  minimum_tls_version = "1.2"

  redis_configuration {
  }
}

References

No response

@KL2808
Copy link

KL2808 commented Aug 21, 2024

Here is a screenshot of the error message and the sku in azure:
image
image

@BosBer
Copy link

BosBer commented Aug 23, 2024

This should be implemented in azurerm_redis_enterprise_cluster instead of azurerm_redis_cache

Potential Terraform Configuration

resource "azurerm_redis_enterprise_cluster" "redis" {
  name                = "example-cache"
  location            = azurerm_resource_group.example.location
  resource_group_name = azurerm_resource_group.example.name
  sku_name            = "Enterprise_E1-1"
}

@yfvham
Copy link

yfvham commented Dec 13, 2024

I am trying to do the same thing, and while using the example code here

resource "azurerm_redis_enterprise_cluster" "redis_e1" {
  name                = "redis-e1"
  location            = azurerm_resource_group.example.location
  resource_group_name = azurerm_resource_group.example.name
  sku_name            = "Enterprise_E1-1"
}

I get the follow message

│ Error: expected "sku_name" "name" segment to be one of ["Enterprise_E5", "Enterprise_E50", "Enterprise_E400", "Enterprise_E100", "Enterprise_E10", "Enterprise_E200", "Enterprise_E20", "EnterpriseFlash_F1500", "EnterpriseFlash_F700" or "EnterpriseFlash_F300"], got "Enterprise_E1-1"

I am able to spin this up by hand in the azure gui for Central US and that should be a valid sku.

https://learn.microsoft.com/en-us/rest/api/redis/redisenterprisecache/redis-enterprise/create?view=rest-redis-redisenterprisecache-2024-10-01&tabs=HTTP#sku

@yfvham yfvham linked a pull request Dec 13, 2024 that will close this issue
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants