2023-09-29 10:26:01 +00:00
|
|
|
module "store-db" {
|
|
|
|
source = "github.com/status-im/infra-tf-multi-provider"
|
|
|
|
|
|
|
|
/* node type */
|
|
|
|
name = "store-db"
|
|
|
|
group = "store-db"
|
2024-07-03 19:47:54 +00:00
|
|
|
env = "status"
|
2023-09-29 10:26:01 +00:00
|
|
|
stage = terraform.workspace
|
|
|
|
|
|
|
|
/* scaling */
|
|
|
|
host_count = local.ws["store_db_hosts_count"]
|
|
|
|
|
|
|
|
/* instance sizes */
|
2024-06-12 14:45:48 +00:00
|
|
|
do_type = local.ws["db_do_type"] /* DigitalOcean */
|
|
|
|
ac_type = local.ws["db_ac_type"] /* Alibaba Cloud */
|
|
|
|
gc_type = local.ws["db_gc_type"] /* Google Cloud */
|
2023-09-29 10:26:01 +00:00
|
|
|
|
|
|
|
/* data volumes */
|
|
|
|
ac_data_vol_size = local.ws["store_db_data_vol_size"]
|
|
|
|
do_data_vol_size = local.ws["store_db_data_vol_size"]
|
|
|
|
gc_data_vol_size = local.ws["store_db_data_vol_size"]
|
|
|
|
}
|
|
|
|
|