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 7adbba0 commit 39c723aCopy full SHA for 39c723a
solutions/apps/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
solutions/project/variables.tf
@@ -41,7 +41,7 @@ variable "prefix" {
41
42
43
44
45
46
0 commit comments