Skip to content

Commit 382c99c

Browse files
fix: fix the prefix input variable in the DA to allow null (#76)
1 parent 0139dc2 commit 382c99c

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
@@ -58,7 +58,7 @@ variable "prefix" {
5858

5959
validation {
6060
# must not exceed 16 characters in length
61-
condition = length(var.prefix) <= 16
61+
condition = var.prefix == null || var.prefix == "" ? true : length(var.prefix) <= 16
6262
error_message = "Prefix must not exceed 16 characters."
6363
}
6464
}

0 commit comments

Comments
 (0)