Created
November 2, 2018 19:38
-
-
Save albertoal/ac46eaa6ab5f6dd278225ef1d49eec75 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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