Fixup aws_security_group doc example.
Both to_ and from_ port must be zero to use protocol -1.
This commit is contained in:
parent
0b2b9e844f
commit
f3a86114ae
|
@ -28,7 +28,7 @@ resource "aws_security_group" "allow_all" {
|
|||
|
||||
ingress {
|
||||
from_port = 0
|
||||
to_port = 65535
|
||||
to_port = 0
|
||||
protocol = "-1"
|
||||
cidr_blocks = ["0.0.0.0/0"]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue