From 2533166c61ff3ce87fc64c34a9052e57c69ce2e3 Mon Sep 17 00:00:00 2001 From: Artiom Diomin Date: Wed, 22 Sep 2021 19:11:40 +0300 Subject: [PATCH] aws-terraform: open nodeports unconditionally (#1535) Conformance tests require NodePorts to be open on all node Address types Signed-off-by: Artiom Diomin --- examples/terraform/aws/main.tf | 1 - examples/terraform/aws/variables.tf | 6 ------ 2 files changed, 7 deletions(-) diff --git a/examples/terraform/aws/main.tf b/examples/terraform/aws/main.tf index 9d13c356e..78617e3e2 100644 --- a/examples/terraform/aws/main.tf +++ b/examples/terraform/aws/main.tf @@ -133,7 +133,6 @@ resource "aws_security_group_rule" "egress_allow_all" { } resource "aws_security_group_rule" "nodeports" { - count = var.open_nodeports ? 1 : 0 type = "ingress" security_group_id = aws_security_group.common.id diff --git a/examples/terraform/aws/variables.tf b/examples/terraform/aws/variables.tf index 9f88b8055..1d191614f 100644 --- a/examples/terraform/aws/variables.tf +++ b/examples/terraform/aws/variables.tf @@ -177,12 +177,6 @@ variable "internal_api_lb" { type = bool } -variable "open_nodeports" { - default = false - description = "open NodePorts flag" - type = bool -} - variable "initial_machinedeployment_replicas" { default = 1 description = "number of replicas per MachineDeployment"