opentelekomcloud / terraform-provider-opentelekomcloud

Terraform OpenTelekomCloud provider
https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/latest
Mozilla Public License 2.0
88 stars 77 forks source link

opentelekomcloud_dcs_instance_v2: define number of replicas #2642

Closed deem1978 closed 2 months ago

deem1978 commented 2 months ago

Hello everybody, I would really appreciate if someone can help. I need to setup a Redis instance and my setup should be 1 master + 2 replicas. In the related documentation I am not able to find any useful parameter, I just see that the replica_count attribute can be exported, but how can I define the number of the needed replicas?

Thank you, Davide

artem-lifshits commented 2 months ago

Hello @deem1978 the number of replicas is indicated within the DCS flavor name (spec_code). For example in flavor redis.ha.xu1.tiny.r5.512 the r5 component signifies that this flavor is configured to use 5 replicas.

deem1978 commented 2 months ago

wow ok! thank you a lot!