We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
prefix
null
1 parent 0139dc2 commit 382c99cCopy full SHA for 382c99c
solutions/fully-configurable/variables.tf
@@ -58,7 +58,7 @@ variable "prefix" {
58
59
validation {
60
# must not exceed 16 characters in length
61
- condition = length(var.prefix) <= 16
+ condition = var.prefix == null || var.prefix == "" ? true : length(var.prefix) <= 16
62
error_message = "Prefix must not exceed 16 characters."
63
}
64
0 commit comments