infra-status/hosts_store.tf

29 lines
624 B
HCL

module "store" {
source = "github.com/status-im/infra-tf-multi-provider"
/* node type */
name = "store"
group = "store"
env = "status"
stage = terraform.workspace
/* scaling */
host_count = local.ws["store_hosts_count"]
/* instance sizes */
do_type = local.ws["node_do_type"] /* DigitalOcean */
ac_type = local.ws["node_ac_type"] /* Alibaba Cloud */
gc_type = local.ws["node_gc_type"] /* Google Cloud */
/* firewall */
open_tcp_ports = [
"30303", /* p2p main */
"443", /* websocket */
"80", /* certbot */
]
open_udp_ports = [
"9000", /* discovery v5 */
]
}