Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed May 10, 2021
1 parent 58f1a22 commit bedac70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nacl-rules/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ locals {
r4_out = [for v in local.r3_out : v.rule_number]
r5_in = length(local.r4_in) > 0 ? max(local.r4_in...) : null
r5_out = length(local.r4_out) > 0 ? max(local.r4_out...) : null
r5 = max(local.r5_in, local.r5_out)
r5 = local.r5_in != null && local.r5_out != null ? max(local.r5_in, local.r5_out) : null
}

resource "aws_network_acl_rule" "in" {
Expand Down

0 comments on commit bedac70

Please sign in to comment.