diff --git a/infra/alpha.tf b/infra/alpha.tf index eebe993..cc273b6 100644 --- a/infra/alpha.tf +++ b/infra/alpha.tf @@ -19,7 +19,7 @@ resource "aws_instance" "alpha" { key_name = var.alpha_ssh_key_name - private_ip = "10.0.0.151" + private_ip = "10.0.1.10" security_groups = [ aws_security_group.general_web_req.id, aws_security_group.internal_ssh_recv.id diff --git a/infra/beta.tf b/infra/beta.tf index ecf57b5..ef33e93 100644 --- a/infra/beta.tf +++ b/infra/beta.tf @@ -17,7 +17,7 @@ resource "aws_instance" "beta" { key_name = var.beta_public_key_path - private_ip = "10.0.0.152" + private_ip = "10.0.1.11" security_groups = [ aws_security_group.general_web_req.id, aws_security_group.internal_ssh_recv.id diff --git a/infra/gamma.tf b/infra/gamma.tf index 9758ca8..ff7cb9b 100644 --- a/infra/gamma.tf +++ b/infra/gamma.tf @@ -15,10 +15,13 @@ resource "aws_instance" "gamma" { key_name = var.gamma_ssh_key_name - private_ip = "10.0.0.153" + private_ip = "10.0.2.10" - security_groups = [ aws_security_group.gamma_sec.id ] - subnet_id = aws_subnet.crete_subnet.id + security_groups = [ + aws_security_group.gamma_sec.id, + aws_security_group.general_web_req.id + ] + subnet_id = aws_subnet.olympus_subnet.id tags = { Name = "Gamma Host" } diff --git a/infra/sigma.tf b/infra/sigma.tf index 678da22..2b71efe 100644 --- a/infra/sigma.tf +++ b/infra/sigma.tf @@ -19,13 +19,13 @@ resource "aws_instance" "sigma" { key_name = var.sigma_ssh_key_name - private_ip = "10.0.0.154" + private_ip = "10.0.2.11" security_groups = [ aws_security_group.internal_ssh_recv.id, aws_security_group.general_web_req.id, ] - subnet_id = aws_subnet.crete_subnet.id + subnet_id = aws_subnet.olympus_subnet.id tags = { Name = "Sigma Host"