We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
prefix
null
1 parent cf28b4d commit cedea05Copy full SHA for cedea05
solutions/fully-configurable/variables.tf
@@ -47,7 +47,7 @@ variable "prefix" {
47
48
validation {
49
# must not exceed 16 characters in length
50
- condition = length(var.prefix) <= 16
+ condition = var.prefix == null || var.prefix == "" ? true : length(var.prefix) <= 16
51
error_message = "Prefix must not exceed 16 characters."
52
}
53
0 commit comments