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 28eb9b4 commit 237228bCopy full SHA for 237228b
solutions/fully-configurable/variables.tf
@@ -30,7 +30,7 @@ variable "prefix" {
30
31
validation {
32
# must not exceed 16 characters in length
33
- condition = length(var.prefix) <= 16
+ condition = var.prefix == null || var.prefix == "" ? true : length(var.prefix) <= 16
34
error_message = "Prefix must not exceed 16 characters."
35
}
36
0 commit comments