Merge pull request #2146 from hashicorp/b-examples-egress
examples: add egress rule to aws-two-tier SG
This commit is contained in:
commit
1a312b5de9
|
@ -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"]
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue