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"