update to new infra-tf-aws-vpc

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2020-05-19 14:42:44 +02:00
parent d8952e4c83
commit 333c0939bc
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
3 changed files with 13 additions and 12 deletions

View File

@ -18,9 +18,9 @@ module "nimbus_dashboard" {
]
/* Plumbing */
vpc_id = module.nimbus_network.vpc_id
subnet_id = module.nimbus_network.subnet_id
secgroup_id = module.nimbus_network.secgroup_id
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
}

View File

@ -20,9 +20,9 @@ module "nimbus_log_store" {
]
/* Plumbing */
vpc_id = module.nimbus_network.vpc_id
subnet_id = module.nimbus_network.subnet_id
secgroup_id = module.nimbus_network.secgroup_id
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
}

View File

@ -12,6 +12,7 @@ module "nimbus_network" {
name = "nimbus"
stage = "test"
zones = [ "eu-central-1a" ]
/* Firewall */
open_udp_ports = local.nimbus_ports
@ -38,9 +39,9 @@ module "nimbus_master" {
open_tcp_ports = concat(local.nimbus_ports, [ "80", "443" ])
/* Plumbing */
vpc_id = module.nimbus_network.vpc_id
subnet_id = module.nimbus_network.subnet_id
secgroup_id = module.nimbus_network.secgroup_id
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
}
@ -62,9 +63,9 @@ module "nimbus_nodes" {
open_tcp_ports = local.nimbus_ports
/* Plumbing */
vpc_id = module.nimbus_network.vpc_id
subnet_id = module.nimbus_network.subnet_id
secgroup_id = module.nimbus_network.secgroup_id
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
}