split ingress and egress

This commit is contained in:
Anton Livaja 2024-11-26 22:35:34 -05:00
parent ebdac33de9
commit 624bfaf8f3
Signed by: anton
GPG Key ID: 44A86CFF1FDF0E85
1 changed files with 5 additions and 0 deletions

View File

@ -135,6 +135,11 @@ resource "aws_security_group" "allow_ssh" {
protocol = "tcp"
cidr_blocks = ["0.0.0.0/0"]
}
}
resource "aws_security_group" "default_egress" {
name = "default_egress"
description = "Specify egress for instance"
egress {
from_port = 0