2023-09-08 13:48:13 +00:00
|
|
|
module "store" {
|
|
|
|
source = "github.com/status-im/infra-tf-multi-provider"
|
|
|
|
|
|
|
|
/* node type */
|
|
|
|
name = "store"
|
|
|
|
group = "store"
|
|
|
|
env = "shards"
|
|
|
|
stage = terraform.workspace
|
|
|
|
|
|
|
|
/* 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 */
|
2023-09-28 14:47:57 +00:00
|
|
|
open_tcp_ports = [
|
|
|
|
"30303", /* p2p main */
|
2023-12-14 09:06:00 +00:00
|
|
|
"443", /* websocket */
|
|
|
|
"80", /* certbot */
|
2023-09-28 14:47:57 +00:00
|
|
|
]
|
2023-09-08 13:48:13 +00:00
|
|
|
open_udp_ports = [
|
|
|
|
"9000", /* discovery v5 */
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|