Skip to content

Commit

Permalink
fix self
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Oct 25, 2021
1 parent 453f54a commit 5a122b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom/ports.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ locals {
p_self_fields = ["from", "to", "proto", "description"]
sp_list1 = length(var.ingress_self_port_list) > 0 ? [for p in var.ingress_self_port_list : zipmap(local.p_self_fields, p)] : []
sp_list2 = length(var.ingress_self_port_map) > 0 ? var.ingress_self_port_map : []
sp_list3 = local._defaults["self_port_list"]
sp_list3 = length(var.ingress_self_port_list) == 0 && length(var.ingress_self_port_map) == 0 ? local._defaults["self_port_list"] : []

self_port_map = {
"ingress_ports" = local.sp_list1
Expand Down

0 comments on commit 5a122b0

Please sign in to comment.