Merge pull request #920 from hashicorp/tf-module-0.5-compat

Add egress rule to SG for TF 0.5 compat
This commit is contained in:
Armon Dadgar 2015-05-08 11:20:29 -07:00
commit e2230fb62e
1 changed files with 8 additions and 0 deletions

View File

@ -62,4 +62,12 @@ resource "aws_security_group" "consul" {
protocol = "tcp" protocol = "tcp"
cidr_blocks = ["0.0.0.0/0"] cidr_blocks = ["0.0.0.0/0"]
} }
// This is for outbound internet access
egress {
from_port = 0
to_port = 0
protocol = "-1"
cidr_block = "0.0.0.0/0"
}
} }