File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ project adheres to [Semantic Versioning](http://semver.org/).
10
10
## [[ v8.?.?] ( https://github.com/terraform-aws-modules/terraform-aws-eks/compare/v8.1.0...HEAD )] - YYYY-MM-DD]
11
11
12
12
- Include ability to configure custom os-specific command for waiting until kube cluster is healthy (@sanjeevgiri )
13
+ - Disable creation of ingress rules if worker nodes security groups are exists (@andjelx )
13
14
14
15
# History
15
16
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ resource "aws_security_group_rule" "cluster_egress_internet" {
74
74
}
75
75
76
76
resource "aws_security_group_rule" "cluster_https_worker_ingress" {
77
- count = var. create_eks ? 1 : 0
77
+ count = var. worker_security_group_id == " " && var . create_eks ? 1 : 0
78
78
description = " Allow pods to communicate with the EKS cluster API."
79
79
protocol = " tcp"
80
80
security_group_id = local. cluster_security_group_id
You can’t perform that action at this time.
0 commit comments