Skip to content

Instantly share code, notes, and snippets.

@albertoal
Created November 2, 2018 19:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save albertoal/ac46eaa6ab5f6dd278225ef1d49eec75 to your computer and use it in GitHub Desktop.
Save albertoal/ac46eaa6ab5f6dd278225ef1d49eec75 to your computer and use it in GitHub Desktop.
resource "aws_security_group" "k8s_common_http" {
name = "${local.environment}_k8s_common_http"
vpc_id = "${module.dev_vpc.vpc_id}"
tags = "${merge(local.tags)}"
ingress {
from_port = 80
protocol = "tcp"
to_port = 80
cidr_blocks = ["${local.ingress_ips}"]
}
ingress {
from_port = 443
protocol = "tcp"
to_port = 443
cidr_blocks = ["${local.ingress_ips}"]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment