From 93db0170304b9bd7233fd6d3ba8f0a7af28d6e60 Mon Sep 17 00:00:00 2001 From: shockrah Date: Sun, 28 Nov 2021 15:25:35 -0800 Subject: [PATCH] !* Fixing target cidr_blocks: internal_ssh_recv & gamma_sec With this gamma can now talk to all servers correctly --- infra/security-groups.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"