Skip to content

Instantly share code, notes, and snippets.

@mtheoryx
Created November 16, 2018 23:01
Show Gist options
  • Save mtheoryx/831fe15a8f713ea83362912f8dca0bb9 to your computer and use it in GitHub Desktop.
Save mtheoryx/831fe15a8f713ea83362912f8dca0bb9 to your computer and use it in GitHub Desktop.
resource "aws_security_group_rule" "http-ingress" {
description = "Allow port 80 ingress allow-http"
type = "ingress"
from_port = 80
to_port = 80
protocol = "tcp"
cidr_blocks = ["0.0.0.0/0"]
security_group_id = "${aws_security_group.allow-http.id}"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment