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 ea56c11 commit 034a6eeCopy full SHA for 034a6ee
solutions/fully-configurable/variables.tf
@@ -53,7 +53,7 @@ variable "prefix" {
53
54
validation {
55
# must not exceed 16 characters in length
56
- condition = length(var.prefix) <= 16
+ condition = var.prefix == null || var.prefix == "" ? true : length(var.prefix) <= 16
57
error_message = "Prefix must not exceed 16 characters."
58
}
59
0 commit comments