/ hosts.tf
hosts.tf
 1  module "hosts" {
 2    source = "github.com/status-im/infra-tf-digital-ocean"
 3  
 4    /* node type */
 5    env    = "wakuv2"
 6    stage  = terraform.workspace
 7    group  = "wakuv2-${terraform.workspace}"
 8  
 9    /* scaling */
10    host_count    = 1
11    type          = "s-1vcpu-2gb"
12    data_vol_size = 40
13  
14    /* firewall */
15    open_tcp_ports = [
16      "80",    /* certbot */
17      "443",   /* p2p websockify */
18      "8000",  /* p2p websocket */
19      "30303", /* p2p main */
20      /* only on node-01.gc-us-central1-a.wakuv2.prod */
21      "9000",  /* chat2bridge */
22    ]
23    open_udp_ports = [
24      "9000",  /* discovery v5 */
25    ]
26  }