Skip to content

Commit 82e5080

Browse files
fix: fix the prefix input variable in the DA to allow null (#283)
1 parent 0182171 commit 82e5080

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
@@ -43,7 +43,7 @@ variable "prefix" {
4343

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

0 commit comments

Comments
 (0)