Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Jan 30, 2024
1 parent 8340cf4 commit 11be1f8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/full-cluster-tf-upgrade/1.28/securitygroup.ports.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 11be1f8

Please sign in to comment.