infra-status/hosts_store.tf
Anton Iakimov c6a8cbbe6a
terraform: reduce boot instances and remove volumes
We only need 1 boot instance for testing.
Data is stored in PostgreSQL on separate nodes.
2023-09-27 16:41:58 +02:00

25 lines
522 B
HCL

module "store" {
source = "github.com/status-im/infra-tf-multi-provider"
/* node type */
name = "store"
group = "store"
env = "shards"
stage = terraform.workspace
domain = var.domain
/* scaling */
host_count = local.ws["store_hosts_count"]
/* instance sizes */
do_type = local.ws["do_type"] /* DigitalOcean */
ac_type = local.ws["ac_type"] /* Alibaba Cloud */
gc_type = local.ws["gc_type"] /* Google Cloud */
/* firewall */
open_udp_ports = [
"9000", /* discovery v5 */
]
}