Skip to content

Commit fcb5421

Browse files
fix: fix the prefix input variable in the DA to allow null (#333)
1 parent 3e2f9b6 commit fcb5421

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
@@ -31,7 +31,7 @@ variable "prefix" {
3131

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

0 commit comments

Comments
 (0)