From f2e8a98df0dace2efc584af545d6c22bf5092c81 Mon Sep 17 00:00:00 2001 From: badra001 Date: Thu, 8 Feb 2024 13:13:15 -0500 Subject: [PATCH] update --- permissionset/variables.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/permissionset/variables.tf b/permissionset/variables.tf index 7a4c471..6f8dc05 100644 --- a/permissionset/variables.tf +++ b/permissionset/variables.tf @@ -51,7 +51,7 @@ variable "auto_policy_count" { default = null validation { - condition = var.auto_policy_count == null || (var.auto_policy_count > 0 && var.auto_policy_count <= 20) + condition = var.auto_policy_count == null || can(var.auto_policy_count > 0 && var.auto_policy_count <= 20) error_message = "auto_policy_coount may be null or between 0 and 20, inclusive." } }