2020-10-07 14:42:55 +00:00
|
|
|
/* Frontend application */
|
|
|
|
module "hive_master" {
|
|
|
|
source = "github.com/status-im/infra-tf-google-cloud"
|
|
|
|
host_count = 1
|
|
|
|
name = "master"
|
|
|
|
env = "thehive"
|
|
|
|
group = "thehive-master"
|
|
|
|
type = "n1-standard-2"
|
2020-10-08 13:19:56 +00:00
|
|
|
root_vol_size = 30
|
|
|
|
data_vol_size = 30
|
2020-10-07 14:42:55 +00:00
|
|
|
domain = var.hosts_domain
|
|
|
|
|
|
|
|
/* Application Web UI */
|
2021-06-23 10:42:11 +00:00
|
|
|
open_tcp_ports = ["80", "443"]
|
2020-10-07 14:42:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Backend storage */
|
|
|
|
module "hive_slave" {
|
|
|
|
source = "github.com/status-im/infra-tf-google-cloud"
|
|
|
|
host_count = 3
|
|
|
|
name = "slave"
|
|
|
|
env = "thehive"
|
|
|
|
group = "thehive-slave"
|
|
|
|
type = "n1-standard-4"
|
|
|
|
root_vol_size = 30
|
|
|
|
data_vol_size = 30
|
|
|
|
domain = var.hosts_domain
|
2020-10-08 11:47:49 +00:00
|
|
|
|
|
|
|
/* ElasticSearch HQ Web UI */
|
2021-06-23 10:42:11 +00:00
|
|
|
open_tcp_ports = ["80", "443"]
|
2020-10-07 14:42:55 +00:00
|
|
|
}
|