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 fb65a90 commit f12fb46Copy full SHA for f12fb46
solutions/fully-configurable/variables.tf
@@ -33,7 +33,7 @@ variable "prefix" {
33
34
validation {
35
# must not exceed 16 characters in length
36
- condition = length(var.prefix) <= 16
+ condition = var.prefix == null || var.prefix == "" ? true : length(var.prefix) <= 16
37
error_message = "Prefix must not exceed 16 characters."
38
}
39
0 commit comments