Correct to_port in egress example

When using `-1` for the protocol, both `from_port` and `to_port` must be `0`, or so says AWS thru Terraform:

```
* from_port (0) and to_port (65535) must both be 0 to use the the 'ALL' "-1" protocol!
```
This commit is contained in:
ketzacoatl 2015-05-28 21:37:46 -04:00
parent f7e71a21ae
commit addb43deae
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ resource "aws_security_group" "allow_all" {
egress {
from_port = 0
to_port = 65535
to_port = 0
protocol = "-1"
cidr_blocks = ["0.0.0.0/0"]
}