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
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.
╷
│ Error: 'partition_count' values greater than 1 cannot be setfor the "basic" SKU, got 3)
│
│ with module.search_service.azurerm_search_service.search_service,
│ on module\search-services.tf line 1, in resource "azurerm_search_service""search_service":
│ 1: resource "azurerm_search_service""search_service" {
│
╵
Expected Behaviour
With provided configurations of Basic SKU and Partitions more than 1 the terraform apply should deploy with result message as
Creation complete after [id="/subscriptions//resourceGroups//providers/Microsoft.Search/searchServices/"]
Actual Behaviour
╷
│ Error: 'partition_count' values greater than 1 cannot be set for the "basic" SKU, got 3)
│
│ with module.search_service.azurerm_search_service.search_service,
│ on module\search-services.tf line 1, in resource "azurerm_search_service" "search_service":
│ 1: resource "azurerm_search_service" "search_service" {
│
╵
Steps to Reproduce
create a search service resource with basic sku and partition count greater than 1
resource "azurerm_search_service" "search_service" {
name = "example"
resource_group_name = "example-rg-name"
location = "eastus"
sku = "basic"
public_network_access_enabled = false
authentication_failure_mode = "http403"
local_authentication_enabled = true
customer_managed_key_enforcement_enabled = false
replica_count = 3
partition_count = 3
}
run terraform apply -auto-approve to reproduce the issue
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.8.2
AzureRM Provider Version
4.11.0
Affected Resource(s)/Data Source(s)
azurerm_search_service
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
With provided configurations of Basic SKU and Partitions more than 1 the terraform apply should deploy with result message as
Creation complete after [id="/subscriptions//resourceGroups//providers/Microsoft.Search/searchServices/"]
Actual Behaviour
╷
│ Error: 'partition_count' values greater than 1 cannot be set for the "basic" SKU, got 3)
│
│ with module.search_service.azurerm_search_service.search_service,
│ on module\search-services.tf line 1, in resource "azurerm_search_service" "search_service":
│ 1: resource "azurerm_search_service" "search_service" {
│
╵
Steps to Reproduce
create a search service resource with basic sku and partition count greater than 1
resource "azurerm_search_service" "search_service" {
name = "example"
resource_group_name = "example-rg-name"
location = "eastus"
sku = "basic"
public_network_access_enabled = false
authentication_failure_mode = "http403"
local_authentication_enabled = true
customer_managed_key_enforcement_enabled = false
replica_count = 3
partition_count = 3
}
run terraform apply -auto-approve to reproduce the issue
Important Factoids
No response
References
The Official Microsoft Documents for reference https://learn.microsoft.com/en-us/azure/search/search-sku-tier
Which supports 9 search units and 3 counts for both partitions and replicas under SKU basic
The text was updated successfully, but these errors were encountered: