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