From addb43deae2eb78555c305af7a2a34bc7158b289 Mon Sep 17 00:00:00 2001 From: ketzacoatl Date: Thu, 28 May 2015 21:37:46 -0400 Subject: [PATCH] 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! ``` --- .../source/docs/providers/aws/r/security_group.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/source/docs/providers/aws/r/security_group.html.markdown b/website/source/docs/providers/aws/r/security_group.html.markdown index 0e253e707..c3f74dba5 100644 --- a/website/source/docs/providers/aws/r/security_group.html.markdown +++ b/website/source/docs/providers/aws/r/security_group.html.markdown @@ -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"] }