Hi! I’ve been trying out https://registry.terraform.io/providers/k-yomo/algolia to terraform an Algolia app, and I would like to know if there is a syntax that allows to customize a replica after it is created.
For instance, when I do this:
resource "algolia_index" "my_primary_index" {
ranking_config {
custom_ranking = [
"asc(has_ranking_malus)",
"desc(score_a)",
"asc(price)",
"desc(has_free_delivery)",
"desc(rating)",
"desc(rating_count)"
]
replicas = [
"my_replica"
]
}
}
I would love to be able to change the custom_ranking
of my_replica
through Terraform (otherwise there is not much point in having a replica, right?).
How can I achieve this?