Skip to content

Instantly share code, notes, and snippets.

@rdark
Created March 14, 2016 15:22
Show Gist options
  • Save rdark/a6874454a5aad6496847 to your computer and use it in GitHub Desktop.
Save rdark/a6874454a5aad6496847 to your computer and use it in GitHub Desktop.
resource "aws_security_group_rule" "allow_all_outbound" {
type = "egress"
from_port = 0
to_port = 0
protocol = "-1"
cidr_blocks = ["0.0.0.0/0"]
security_group_id = "${aws_security_group.app_name.id}"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment