add terraform module for libp2p-unstable

Signed-off-by: Arthur Koziel <arthur@arthurkoziel.com>
This commit is contained in:
Arthur Koziel 2021-04-02 15:00:02 +08:00
parent 6d9fcf4a20
commit d9c21f7d5b
No known key found for this signature in database
GPG Key ID: 55B0204F1259CA3A
2 changed files with 33 additions and 0 deletions

View File

@ -27,6 +27,7 @@ testing-small-02.aws-eu-central-1a.nimbus.pyrmont hostname=testing-small-02.aws-
testing-small-03.aws-eu-central-1a.nimbus.pyrmont hostname=testing-small-03.aws-eu-central-1a.nimbus.pyrmont ansible_host=35.156.225.126 env=nimbus stage=pyrmont data_center=aws-eu-central-1a region=eu-central-1a dns_entry=testing-small-03.aws-eu-central-1a.nimbus.pyrmont.statusim.net
testing-small-04.aws-eu-central-1a.nimbus.pyrmont hostname=testing-small-04.aws-eu-central-1a.nimbus.pyrmont ansible_host=18.193.215.229 env=nimbus stage=pyrmont data_center=aws-eu-central-1a region=eu-central-1a dns_entry=testing-small-04.aws-eu-central-1a.nimbus.pyrmont.statusim.net
u-libp2p-s-large-01.aws-eu-central-1a.nimbus.prater hostname=u-libp2p-s-large-01.aws-eu-central-1a.nimbus.prater ansible_host=3.65.85.93 env=nimbus stage=prater data_center=aws-eu-central-1a region=eu-central-1a dns_entry=u-libp2p-s-large-01.aws-eu-central-1a.nimbus.prater.statusim.net
u-libp2p-u-large-01.aws-eu-central-1a.nimbus.prater hostname=u-libp2p-u-large-01.aws-eu-central-1a.nimbus.prater ansible_host=18.158.170.20 env=nimbus stage=prater data_center=aws-eu-central-1a region=eu-central-1a dns_entry=u-libp2p-u-large-01.aws-eu-central-1a.nimbus.prater.statusim.net
unstable-large-01.aws-eu-central-1a.nimbus.prater hostname=unstable-large-01.aws-eu-central-1a.nimbus.prater ansible_host=3.65.85.130 env=nimbus stage=prater data_center=aws-eu-central-1a region=eu-central-1a dns_entry=unstable-large-01.aws-eu-central-1a.nimbus.prater.statusim.net
unstable-large-01.aws-eu-central-1a.nimbus.pyrmont hostname=unstable-large-01.aws-eu-central-1a.nimbus.pyrmont ansible_host=18.198.99.61 env=nimbus stage=pyrmont data_center=aws-eu-central-1a region=eu-central-1a dns_entry=unstable-large-01.aws-eu-central-1a.nimbus.pyrmont.statusim.net
unstable-large-02.aws-eu-central-1a.nimbus.prater hostname=unstable-large-02.aws-eu-central-1a.nimbus.prater ansible_host=3.65.180.246 env=nimbus stage=prater data_center=aws-eu-central-1a region=eu-central-1a dns_entry=unstable-large-02.aws-eu-central-1a.nimbus.prater.statusim.net
@ -67,6 +68,7 @@ testing-small-02.aws-eu-central-1a.nimbus.pyrmont
testing-small-03.aws-eu-central-1a.nimbus.pyrmont
testing-small-04.aws-eu-central-1a.nimbus.pyrmont
u-libp2p-s-large-01.aws-eu-central-1a.nimbus.prater
u-libp2p-u-large-01.aws-eu-central-1a.nimbus.prater
unstable-large-01.aws-eu-central-1a.nimbus.prater
unstable-large-01.aws-eu-central-1a.nimbus.pyrmont
unstable-large-02.aws-eu-central-1a.nimbus.prater
@ -130,6 +132,9 @@ unstable-large-05.aws-eu-central-1a.nimbus.prater
[nimbus-prater-unstable-libp2p-stable]
u-libp2p-s-large-01.aws-eu-central-1a.nimbus.prater
[nimbus-prater-unstable-libp2p-unstable]
u-libp2p-u-large-01.aws-eu-central-1a.nimbus.prater
[nimbus-pyrmont-stable]
stable-large-01.aws-eu-central-1a.nimbus.pyrmont
stable-small-01.aws-eu-central-1a.nimbus.pyrmont
@ -172,6 +177,7 @@ testing-large-03.aws-eu-central-1a.nimbus.prater
testing-large-04.aws-eu-central-1a.nimbus.prater
testing-large-05.aws-eu-central-1a.nimbus.prater
u-libp2p-s-large-01.aws-eu-central-1a.nimbus.prater
u-libp2p-u-large-01.aws-eu-central-1a.nimbus.prater
unstable-large-01.aws-eu-central-1a.nimbus.prater
unstable-large-02.aws-eu-central-1a.nimbus.prater
unstable-large-03.aws-eu-central-1a.nimbus.prater

View File

@ -118,3 +118,30 @@ module "nimbus_nodes_prater_unstable_libp2p_stable_large" {
secgroup_id = module.nimbus_network.secgroup.id
keypair_name = aws_key_pair.arthurk.key_name
}
module "nimbus_nodes_prater_unstable_libp2p_unstable_large" {
source = "github.com/status-im/infra-tf-amazon-web-services"
name = "u-libp2p-u-large"
env = "nimbus"
stage = "prater"
group = "nimbus-prater-unstable-libp2p-unstable"
domain = var.domain
/* Scaling */
instance_type = local.prater_large_instance_type
root_vol_size = local.prater_root_vol_size
data_vol_size = local.prater_data_vol_size
data_vol_type = local.prater_data_vol_type
host_count = 1
/* 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.arthurk.key_name
}