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

Merge branch 'folder_display_name' into 'master'

fix folder_display_name validation

See merge request !7
parents 31286f36 d41573ae
......@@ -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