Skip to content

Commit

Permalink
do null check
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed May 10, 2021
1 parent f486914 commit 8ea078a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nacl-rules/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ output "info" {
rule_count = length(local.r4)
first_rule_number = local.rule_number
last_rule_number = local.r5
next_rule_number = local.r5 + local.rule_increment
next_rule_number = local.r5 != null ? local.r5 + local.rule_increment : null
rule_increment = local.rule_increment
cidrs = local.cidr_blocks
rules = local.rules
Expand Down

0 comments on commit 8ea078a

Please sign in to comment.