Merge pull request #2146 from hashicorp/b-examples-egress

examples: add egress rule to aws-two-tier SG
This commit is contained in:
Radek Simko 2015-05-30 16:20:23 +01:00
commit 1a312b5de9
1 changed files with 8 additions and 0 deletions

View File

@ -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"]
}
}