split ingress and egress
This commit is contained in:
parent
ebdac33de9
commit
624bfaf8f3
|
@ -135,6 +135,11 @@ resource "aws_security_group" "allow_ssh" {
|
||||||
protocol = "tcp"
|
protocol = "tcp"
|
||||||
cidr_blocks = ["0.0.0.0/0"]
|
cidr_blocks = ["0.0.0.0/0"]
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
resource "aws_security_group" "default_egress" {
|
||||||
|
name = "default_egress"
|
||||||
|
description = "Specify egress for instance"
|
||||||
|
|
||||||
egress {
|
egress {
|
||||||
from_port = 0
|
from_port = 0
|
||||||
|
|
Loading…
Reference in New Issue