Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Feb 8, 2024
1 parent eb51e13 commit a105f9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion permissionset/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ variable "auto_policy_count" {
default = null

validation {
condition = var.auto_policy_count == null || can(var.auto_policy_count > 0 && var.auto_policy_count <= 20)
condition = var.auto_policy_count == null || (try(var.auto_policy_count >= 0, false) && try(var.auto_policy_count <= 20, false))
error_message = "auto_policy_coount may be null or between 0 and 20, inclusive."
}
}

0 comments on commit a105f9f

Please sign in to comment.