Skip to content

Commit eda3bb9

Browse files
fix: fix the prefix input variable in the DA to allow null (#28)
1 parent ca445dc commit eda3bb9

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
@@ -52,7 +52,7 @@ variable "prefix" {
5252

5353
validation {
5454
# must not exceed 16 characters in length
55-
condition = length(var.prefix) <= 16
55+
condition = var.prefix == null || var.prefix == "" ? true : length(var.prefix) <= 16
5656
error_message = "Prefix must not exceed 16 characters."
5757
}
5858
}

0 commit comments

Comments
 (0)