Skip to content

Commit 237228b

Browse files
fix: fix the prefix input variable in the DA to allow null (#700)
1 parent 28eb9b4 commit 237228b

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
@@ -30,7 +30,7 @@ variable "prefix" {
3030

3131
validation {
3232
# must not exceed 16 characters in length
33-
condition = length(var.prefix) <= 16
33+
condition = var.prefix == null || var.prefix == "" ? true : length(var.prefix) <= 16
3434
error_message = "Prefix must not exceed 16 characters."
3535
}
3636
}

0 commit comments

Comments
 (0)