From 11be1f82c839b6ae8e58027d427b7249fda426f0 Mon Sep 17 00:00:00 2001 From: badra001 Date: Tue, 30 Jan 2024 12:45:48 -0500 Subject: [PATCH] fix --- .../full-cluster-tf-upgrade/1.28/securitygroup.ports.tf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/full-cluster-tf-upgrade/1.28/securitygroup.ports.tf b/examples/full-cluster-tf-upgrade/1.28/securitygroup.ports.tf index b6aa621..addc0fd 100644 --- a/examples/full-cluster-tf-upgrade/1.28/securitygroup.ports.tf +++ b/examples/full-cluster-tf-upgrade/1.28/securitygroup.ports.tf @@ -3,7 +3,7 @@ # Ports needed to correctly install Istio for the error message: transport: Error while dialing dial tcp xx.xx.xx.xx15012: i/o timeout # other ports here as needed locals { - sg_additional_port = [ + sg_additional_ports = [ { component = "istio" description = "Envoy admin port / outbound" @@ -90,7 +90,7 @@ locals { } } - sg_additonal_egress_rules = { + sg_additional_egress_rules = { for ekey, evalue in local.sg_additional_ports : "${ekey}_egress" => { description = evalue.description @@ -116,7 +116,7 @@ resource "aws_vpc_security_group_ingress_rule" "additional" { } resource "aws_vpc_security_group_egress_rule" "additional" { - for_each = { for k, v in local.sg_additiona_egress_rules : v.from_port => v } + for_each = { for k, v in local.sg_additional_egress_rules : v.from_port => v } security_group_id = aws_security_group.additional_eks_cluster_sg.id description = each.value.description