mirror of https://github.com/status-im/consul.git
Add egress rule to SG for TF 0.5 compat
See "NOTE on Egress rules" here http://www.terraform.io/docs/providers/aws/r/security_group.html As reported here: https://github.com/hashicorp/terraform/issues/1873
This commit is contained in:
parent
da30e12411
commit
bc551e8747
|
@ -62,4 +62,12 @@ resource "aws_security_group" "consul" {
|
|||
protocol = "tcp"
|
||||
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"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue