I am trying to use the latest terraform provider, currently 0.5.0 to create an index with no replicas into an existing Azure managed deployment.
I can successfully create the index, but I always get 1 replica, even though I am setting number_of_replicas to 0.
Does anyone have an idea if I am doing something wrong or the provider is at fault?
The terraform is very simple - like the example below (I've hidden the name and mappings details):
resource "elasticstack_elasticsearch_index" "test_index" {
name = ...
mappings = ...
number_of_shards = 1
number_of_replicas = 0
}