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/).
1010## [[ v8.?.?] ( https://github.com/terraform-aws-modules/terraform-aws-eks/compare/v8.1.0...HEAD )] - YYYY-MM-DD]
1111
1212- 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 )
1314
1415# History
1516
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ resource "aws_security_group_rule" "cluster_egress_internet" {
7474}
7575
7676resource "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
7878 description = " Allow pods to communicate with the EKS cluster API."
7979 protocol = " tcp"
8080 security_group_id = local. cluster_security_group_id
You can’t perform that action at this time.
0 commit comments