Commit d41573ae authored by Adam Robinson's avatar Adam Robinson
Browse files

fix folder_display_name validation

parent 31286f36
......@@ -65,7 +65,7 @@ variable "folder_display_name" {
}
validation {
condition = can(regex("^[[:alnum:]][\\w\\s-]*[[:alnum:]]$")) || var.folder_display_name == ""
condition = can(regex("^[[:alnum:]][\\w\\s-]*[[:alnum:]]$", var.folder_display_name)) || var.folder_display_name == ""
error_message = "The folder_display_name must start and end with a letter or number and contain only letters, numbers, '_', ' ', and '-'."
}
}
......
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