diff --git a/infra/security-groups.tf b/infra/security-groups.tf index e43b098..6a32a49 100644 --- a/infra/security-groups.tf +++ b/infra/security-groups.tf @@ -1,8 +1,9 @@ # Here are general definitions for security rulesets resource "aws_security_group" "basic_web_sec" { - name = "General web server ruleset" + name = "Athens General web server ruleset" description = "Allowing strictly web traffic" + vpc_id = aws_vpc.athens_vpc.id # Intake of web requests(only serving TLS enabled traffic) ingress { cidr_blocks = ["0.0.0.0/0"] @@ -22,6 +23,8 @@ resource "aws_security_group" "basic_web_sec" { } 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] from_port = 22 @@ -34,6 +37,8 @@ resource "aws_security_group" "internal_ssh_recv" { # Note this one is kinda special because the dev box # itself is _kinda_ special(?) resource "aws_security_group" "gamma_sec" { + name = "Athens Gamma Sec" + vpc_id = aws_vpc.athens_vpc.id ingress { cidr_blocks = ["0.0.0.0/0"] from_port = 22