How to customize configuration for an Algolia replica

Hi! I’ve been trying out 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 = [
    replicas = [

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?