Override the default ingress rule that allows communication with the EKS cluster API. If not given, will use current IP/32.

This commit is contained in:
jimbecker
2018-06-27 13:12:14 -04:00
parent c5b637ac0f
commit 98ede7cca6
4 changed files with 8 additions and 1 deletions

View File

@@ -45,7 +45,7 @@ resource "aws_security_group_rule" "cluster_https_worker_ingress" {
}
resource "aws_security_group_rule" "cluster_https_cidr_ingress" {
cidr_blocks = ["${local.workstation_external_cidr}"]
cidr_blocks = ["${local.workstation_cidr}"]
description = "Allow kubectl communication with the EKS cluster API."
protocol = "tcp"
security_group_id = "${aws_security_group.cluster.id}"