Skip to content

Commit 7518f3d

Browse files
fix: fix the prefix input variable in the DA to allow null (#57)
1 parent ce3328c commit 7518f3d

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
@@ -41,7 +41,7 @@ variable "prefix" {
4141

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

0 commit comments

Comments
 (0)