!* Fixing target cidr_blocks: internal_ssh_recv & gamma_sec

With this gamma can now talk to all servers correctly
This commit is contained in:
shockrah 2021-11-28 15:25:35 -08:00
parent 3dd15a4bb8
commit 93db017030

View File

@ -41,7 +41,7 @@ resource "aws_security_group" "internal_ssh_recv" {
name = "Athens Internal SSH RECV" name = "Athens Internal SSH RECV"
vpc_id = aws_vpc.athens_vpc.id vpc_id = aws_vpc.athens_vpc.id
ingress { ingress {
cidr_blocks = [var.crete_cidr] cidr_blocks = [var.athens_cidr]
from_port = 22 from_port = 22
to_port = 22 to_port = 22
protocol = "tcp" protocol = "tcp"
@ -61,7 +61,7 @@ resource "aws_security_group" "gamma_sec" {
protocol = "tcp" protocol = "tcp"
} }
egress { egress {
cidr_blocks = [ var.crete_cidr ] cidr_blocks = [ var.crete_cidr, var.olympus_cidr]
from_port = 22 from_port = 22
to_port = 22 to_port = 22
protocol = "tcp" protocol = "tcp"