We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5146af8 commit ba9cb6dCopy full SHA for ba9cb6d
filebrowser/main.tf
@@ -1,5 +1,5 @@
1
terraform {
2
- required_version = ">= 1.0"
+ required_version = ">= 1.3"
3
4
required_providers {
5
coder = {
@@ -20,7 +20,8 @@ variable "database_path" {
20
description = "The path to the filebrowser database."
21
default = "filebrowser.db"
22
validation {
23
- condition = can(regex(".*filebrowser\\.db$", var.database_path))
+ condition = endswith(var.database_path, "filebrowser.db")
24
+ # condition = can(regex(".*filebrowser\\.db$", var.database_path))
25
error_message = "The database_path must end with 'filebrowser.db'."
26
}
27
0 commit comments