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 eeb9c73 commit 2b4f953Copy full SHA for 2b4f953
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