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 45b2114 commit 6bc5989Copy full SHA for 6bc5989
solutions/fully-configurable/variables.tf
@@ -36,7 +36,7 @@ variable "prefix" {
36
37
validation {
38
# must not exceed 16 characters in length
39
- condition = length(var.prefix) <= 16
+ condition = var.prefix == null || var.prefix == "" ? true : length(var.prefix) <= 16
40
error_message = "Prefix must not exceed 16 characters."
41
}
42
solutions/security-enforced/variables.tf
0 commit comments