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:
parent
f7e71a21ae
commit
addb43deae
|
@ -35,7 +35,7 @@ resource "aws_security_group" "allow_all" {
|
||||||
|
|
||||||
egress {
|
egress {
|
||||||
from_port = 0
|
from_port = 0
|
||||||
to_port = 65535
|
to_port = 0
|
||||||
protocol = "-1"
|
protocol = "-1"
|
||||||
cidr_blocks = ["0.0.0.0/0"]
|
cidr_blocks = ["0.0.0.0/0"]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue