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