140 lines
3.8 KiB
HCL
140 lines
3.8 KiB
HCL
module "nimbus_nodes_pyrmont_master_large" {
|
|
source = "github.com/status-im/infra-tf-amazon-web-services"
|
|
|
|
name = "master-large"
|
|
env = "nimbus"
|
|
stage = "pyrmont"
|
|
group = "nimbus-pyrmont-master"
|
|
domain = var.domain
|
|
|
|
/* Scaling */
|
|
instance_type = "z1d.large"
|
|
root_vol_size = 20
|
|
data_vol_size = local.pyrmont_data_vol_size
|
|
data_vol_type = local.pyrmont_data_vol_type
|
|
data_vol_iops = local.pyrmont_data_vol_iops
|
|
host_count = 2
|
|
|
|
/* Firewall */
|
|
open_udp_ports = local.nimbus_ports
|
|
open_tcp_ports = local.nimbus_ports
|
|
|
|
/* Plumbing */
|
|
vpc_id = module.nimbus_network.vpc.id
|
|
subnet_id = module.nimbus_network.subnets[0].id
|
|
secgroup_id = module.nimbus_network.secgroup.id
|
|
keypair_name = aws_key_pair.jakubgs.key_name
|
|
}
|
|
|
|
module "nimbus_nodes_pyrmont_master_small" {
|
|
source = "github.com/status-im/infra-tf-amazon-web-services"
|
|
|
|
name = "master-small"
|
|
env = "nimbus"
|
|
stage = "pyrmont"
|
|
group = "nimbus-pyrmont-master"
|
|
domain = var.domain
|
|
|
|
/* Scaling */
|
|
instance_type = "t3a.medium"
|
|
root_vol_size = 20
|
|
data_vol_size = local.pyrmont_data_vol_size
|
|
data_vol_type = local.pyrmont_data_vol_type
|
|
data_vol_iops = local.pyrmont_data_vol_iops
|
|
host_count = 4
|
|
|
|
/* Firewall */
|
|
open_udp_ports = local.nimbus_ports
|
|
open_tcp_ports = local.nimbus_ports
|
|
|
|
/* Plumbing */
|
|
vpc_id = module.nimbus_network.vpc.id
|
|
subnet_id = module.nimbus_network.subnets[0].id
|
|
secgroup_id = module.nimbus_network.secgroup.id
|
|
keypair_name = aws_key_pair.jakubgs.key_name
|
|
}
|
|
|
|
module "nimbus_nodes_pyrmont_devel_large" {
|
|
source = "github.com/status-im/infra-tf-amazon-web-services"
|
|
|
|
name = "devel-large"
|
|
env = "nimbus"
|
|
stage = "pyrmont"
|
|
group = "nimbus-pyrmont-devel"
|
|
domain = var.domain
|
|
|
|
/* Scaling */
|
|
instance_type = "z1d.large"
|
|
root_vol_size = 20
|
|
data_vol_size = local.pyrmont_data_vol_size
|
|
data_vol_type = local.pyrmont_data_vol_type
|
|
data_vol_iops = local.pyrmont_data_vol_iops
|
|
host_count = 2
|
|
|
|
/* Firewall */
|
|
open_udp_ports = local.nimbus_ports
|
|
open_tcp_ports = local.nimbus_ports
|
|
|
|
/* Plumbing */
|
|
vpc_id = module.nimbus_network.vpc.id
|
|
subnet_id = module.nimbus_network.subnets[0].id
|
|
secgroup_id = module.nimbus_network.secgroup.id
|
|
keypair_name = aws_key_pair.jakubgs.key_name
|
|
}
|
|
|
|
module "nimbus_nodes_pyrmont_devel_small" {
|
|
source = "github.com/status-im/infra-tf-amazon-web-services"
|
|
|
|
name = "devel-small"
|
|
env = "nimbus"
|
|
stage = "pyrmont"
|
|
group = "nimbus-pyrmont-devel"
|
|
domain = var.domain
|
|
|
|
/* Scaling */
|
|
instance_type = "t3a.medium"
|
|
root_vol_size = 20
|
|
data_vol_size = local.pyrmont_data_vol_size
|
|
data_vol_type = local.pyrmont_data_vol_type
|
|
data_vol_iops = local.pyrmont_data_vol_iops
|
|
host_count = 4
|
|
|
|
/* Firewall */
|
|
open_udp_ports = local.nimbus_ports
|
|
open_tcp_ports = local.nimbus_ports
|
|
|
|
/* Plumbing */
|
|
vpc_id = module.nimbus_network.vpc.id
|
|
subnet_id = module.nimbus_network.subnets[0].id
|
|
secgroup_id = module.nimbus_network.secgroup.id
|
|
keypair_name = aws_key_pair.jakubgs.key_name
|
|
}
|
|
|
|
module "nimbus_nodes_pyrmont_libp2p_small" {
|
|
source = "github.com/status-im/infra-tf-amazon-web-services"
|
|
|
|
name = "libp2p-small"
|
|
env = "nimbus"
|
|
stage = "pyrmont"
|
|
group = "nimbus-pyrmont-libp2p"
|
|
domain = var.domain
|
|
|
|
/* Scaling */
|
|
instance_type = "t3a.medium"
|
|
root_vol_size = 20
|
|
data_vol_size = local.pyrmont_data_vol_size
|
|
data_vol_type = local.pyrmont_data_vol_type
|
|
data_vol_iops = local.pyrmont_data_vol_iops
|
|
host_count = 2
|
|
|
|
/* Firewall */
|
|
open_udp_ports = local.nimbus_ports
|
|
open_tcp_ports = local.nimbus_ports
|
|
|
|
/* Plumbing */
|
|
vpc_id = module.nimbus_network.vpc.id
|
|
subnet_id = module.nimbus_network.subnets[0].id
|
|
secgroup_id = module.nimbus_network.secgroup.id
|
|
keypair_name = aws_key_pair.jakubgs.key_name
|
|
}
|