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