diff --git a/infra/security-groups.tf b/infra/security-groups.tf index e026e6d..7a7fdd4 100644 --- a/infra/security-groups.tf +++ b/infra/security-groups.tf @@ -41,7 +41,7 @@ resource "aws_security_group" "internal_ssh_recv" { name = "Athens Internal SSH RECV" vpc_id = aws_vpc.athens_vpc.id ingress { - cidr_blocks = [var.crete_cidr] + cidr_blocks = [var.athens_cidr] from_port = 22 to_port = 22 protocol = "tcp" @@ -61,7 +61,7 @@ resource "aws_security_group" "gamma_sec" { protocol = "tcp" } egress { - cidr_blocks = [ var.crete_cidr ] + cidr_blocks = [ var.crete_cidr, var.olympus_cidr] from_port = 22 to_port = 22 protocol = "tcp"