/ hosts_boot.tf
hosts_boot.tf
 1  module "boot" {
 2    source = "github.com/status-im/infra-tf-multi-provider"
 3  
 4    /* node type */
 5    name   = "boot"
 6    group  = "boot"
 7    env    = "status"
 8    stage  = terraform.workspace
 9  
10    /* scaling */
11    host_count = local.ws["boot_hosts_count"]
12  
13    /* instance sizes */
14    do_type = local.ws["boot_do_type"] /* DigitalOcean */
15    ac_type = local.ws["boot_ac_type"] /* Alibaba Cloud */
16    gc_type = local.ws["boot_gc_type"] /* Google Cloud */
17  
18    /* firewall */
19    open_tcp_ports = [
20      "30303", /* p2p main */
21      "443",   /* websocket */
22      "80",    /* certbot */
23    ]
24    open_udp_ports = [
25      "9000", /* discovery v5 */
26    ]
27  }
28