Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Oct 18, 2024
1 parent 687336a commit 63c9b99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tags/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ variable "finops" {
}

validation {
condition = length(var.finops)>0 && var.finops.number > 0 && var.finops.number < 10000000000
condition = length(var.finops)>0 && var.finops.number==null || (var.finops.number > 0 && var.finops.number < 10000000000)
error_message = "Invalid finops.number, must be between 0 and 10,000,000,000."
}
}
Expand Down

0 comments on commit 63c9b99

Please sign in to comment.