* Private ip's now adhere to new subnets
This commit is contained in:
parent
86a0122042
commit
157e2db453
@ -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
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
}
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user