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 0182171 commit 82e5080Copy full SHA for 82e5080
solutions/fully-configurable/variables.tf
@@ -43,7 +43,7 @@ variable "prefix" {
43
44
validation {
45
# must not exceed 16 characters in length
46
- condition = length(var.prefix) <= 16
+ condition = var.prefix == null || var.prefix == "" ? true : length(var.prefix) <= 16
47
error_message = "Prefix must not exceed 16 characters."
48
}
49
0 commit comments