infra-status/hosts_boot.tf
Alexis Pentori 85894a4713
shards: enable native websocket port
Signed-off-by: Alexis Pentori <alexis@status.im>
2023-12-14 14:25:34 +01:00

30 lines
627 B
HCL

module "boot" {
source = "github.com/status-im/infra-tf-multi-provider"
/* node type */
name = "boot"
group = "boot"
env = "shards"
stage = terraform.workspace
domain = var.domain
/* scaling */
host_count = local.ws["boot_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_tcp_ports = [
"30303", /* p2p main */
"443", /* websocket */
"80", /* certbot */
]
open_udp_ports = [
"9000", /* discovery v5 */
]
}