Skip to content

Commit 72bf528

Browse files
fix: fix the prefix input variable in the DA to allow null (#254)
1 parent 6720994 commit 72bf528

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

solutions/fully-configurable/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ variable "prefix" {
4242

4343
validation {
4444
# must not exceed 16 characters in length
45-
condition = length(var.prefix) <= 16
45+
condition = var.prefix == null || var.prefix == "" ? true : length(var.prefix) <= 16
4646
error_message = "Prefix must not exceed 16 characters."
4747
}
4848
}

0 commit comments

Comments
 (0)