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