Skip to content

Instantly share code, notes, and snippets.

@sudheerchamarthi
Created April 22, 2019 17:26
Show Gist options
  • Select an option

  • Save sudheerchamarthi/6d23a998cfcbfae98b6b93dc88756787 to your computer and use it in GitHub Desktop.

Select an option

Save sudheerchamarthi/6d23a998cfcbfae98b6b93dc88756787 to your computer and use it in GitHub Desktop.
resource "aws_security_group_rule" "ELBIngressRule" {
type = "ingress"
from_port = 0
to_port = 65535
protocol = "-1"
# Allow all traffic from ALB to workerNodes
source_security_group_id = "${var.elb_security_group}"
security_group_id = "${aws_security_group.NodeSecurityGroup.id}"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment