diff --git a/hosts.tf b/hosts.tf new file mode 100644 index 0000000..2b4d282 --- /dev/null +++ b/hosts.tf @@ -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 +}