diff --git a/modules/shared-security-group/security-group.tf b/modules/shared-security-group/security-group.tf index 4b05f8da..df7784c9 100644 --- a/modules/shared-security-group/security-group.tf +++ b/modules/shared-security-group/security-group.tf @@ -10,11 +10,11 @@ resource "aws_security_group" "internet_access" { # Allow all outbound traffic egress { - from_port = 0 - to_port = 0 - protocol = "-1" + from_port = 8080 + to_port = 8080 + protocol = "tcp" cidr_blocks = ["0.0.0.0/0"] - description = "Allow all outbound traffic" + description = "API outbound traffic only" } # Allow SSH for management