There was an error while loading. Please reload this page.
prefix
null
1 parent ba5b7ba commit 0c5ecd2Copy full SHA for 0c5ecd2
solutions/fully-configurable/variables.tf
@@ -37,7 +37,7 @@ variable "prefix" {
37
38
validation {
39
# must not exceed 16 characters in length
40
- condition = length(var.prefix) <= 16
+ condition = var.prefix == null || var.prefix == "" ? true : length(var.prefix) <= 16
41
error_message = "Prefix must not exceed 16 characters."
42
}
43
solutions/security-enforced/variables.tf
0 commit comments