deploy The Hive master node and 3 slave nodes for storage
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
e1e2a3f98c
commit
bacb5dd068
|
@ -0,0 +1,27 @@
|
||||||
|
/* 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"
|
||||||
|
root_vol_size = 40
|
||||||
|
domain = var.hosts_domain
|
||||||
|
|
||||||
|
/* Application Web UI */
|
||||||
|
open_tcp_ports = [ "80", "443" ]
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 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
|
||||||
|
}
|
Loading…
Reference in New Issue