From cf3bcbcc2b1d71c483463b0835a7fddc939fd730 Mon Sep 17 00:00:00 2001 From: Paul Hinze Date: Fri, 29 May 2015 13:53:27 -0500 Subject: [PATCH] examples: add egress rule to aws-two-tier SG --- examples/aws-two-tier/main.tf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/examples/aws-two-tier/main.tf b/examples/aws-two-tier/main.tf index b06bf8f80e..2a8957e661 100644 --- a/examples/aws-two-tier/main.tf +++ b/examples/aws-two-tier/main.tf @@ -24,6 +24,14 @@ resource "aws_security_group" "default" { protocol = "tcp" cidr_blocks = ["0.0.0.0/0"] } + + # outbound internet access + egress { + from_port = 0 + to_port = 0 + protocol = "-1" + cidr_blocks = ["0.0.0.0/0"] + } }