protocol value for all traffic should be -1

If it is all traffic instead of all tcp traffic , protocol should be equal -1 , otherwise indicate all tcp not all traffic
This commit is contained in:
Kevin Yi 2015-03-03 10:33:54 +11:00
parent 23d90c0c02
commit 0e3f1a865e
1 changed files with 2 additions and 2 deletions

View File

@ -22,14 +22,14 @@ resource "aws_security_group" "allow_all" {
ingress {
from_port = 0
to_port = 65535
protocol = "tcp"
protocol = "-1"
cidr_blocks = ["0.0.0.0/0"]
}
egress {
from_port = 0
to_port = 65535
protocol = "tcp"
protocol = "-1"
cidr_blocks = ["0.0.0.0/0"]
}
}