Skip to content

Commit 034a6ee

Browse files
fix: fix the prefix input variable in the DA to allow null (#105)
1 parent ea56c11 commit 034a6ee

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
@@ -53,7 +53,7 @@ variable "prefix" {
5353

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

0 commit comments

Comments
 (0)