Skip to content

Commit 290db2e

Browse files
committed
empty test, revert to regex until upgrade
1 parent ba9cb6d commit 290db2e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

filebrowser/main.tf

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
terraform {
2-
required_version = ">= 1.3"
2+
required_version = ">= 1.0"
33

44
required_providers {
55
coder = {
@@ -20,8 +20,8 @@ variable "database_path" {
2020
description = "The path to the filebrowser database."
2121
default = "filebrowser.db"
2222
validation {
23-
condition = endswith(var.database_path, "filebrowser.db")
24-
# condition = can(regex(".*filebrowser\\.db$", var.database_path))
23+
# condition = endswith(var.database_path, "filebrowser.db")
24+
condition = can(regex(".*filebrowser\\.db$", var.database_path))
2525
error_message = "The database_path must end with 'filebrowser.db'."
2626
}
2727
}

0 commit comments

Comments
 (0)