Commit 4c64b57e authored by Adam Robinson's avatar Adam Robinson
Browse files

fix folder_display_name validation

parent 5a4227e7
...@@ -60,7 +60,7 @@ variable "folder_display_name" { ...@@ -60,7 +60,7 @@ variable "folder_display_name" {
default = "" default = ""
validation { validation {
condition = length(var.folder_display_name) > 30 condition = var.folder_display_name != "" ? length(var.folder_display_name) <= 30 : true
error_message = "The folder_display_name must be less than or equal to 30 characters in length." error_message = "The folder_display_name must be less than or equal to 30 characters in length."
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment