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