infra-nimbus/geth.tf

52 lines
1.2 KiB
Terraform
Raw Normal View History

module "nimbus_geth_mainnet" {
source = "github.com/status-im/infra-tf-amazon-web-services"
name = "mainnet"
env = "nimbus"
stage = "geth"
group = "nimbus-geth-mainnet"
domain = var.domain
/* Scaling */
type = "t3a.xlarge"
root_vol_size = 10
data_vol_size = 1800
data_vol_type = "gp2"
host_count = 1
/* Firewall */
open_tcp_ports = [30303]
/* 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_geth_goerli" {
source = "github.com/status-im/infra-tf-amazon-web-services"
name = "goerli"
env = "nimbus"
stage = "geth"
group = "nimbus-geth-goerli"
domain = var.domain
/* Scaling */
type = "t3a.large"
root_vol_size = 10
data_vol_size = 200
data_vol_type = "gp2"
host_count = 1
/* Firewall */
open_tcp_ports = [30303]
/* 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
}