fixed sh ref

This commit is contained in:
Stephen Kirby
2023-10-05 22:27:00 +00:00
parent 290db2ea33
commit e9bf7245bb
3 changed files with 16 additions and 5 deletions

View File

@@ -9,7 +9,6 @@ terraform {
}
}
# Add required variables for your modules and remove any unneeded variables
variable "agent_id" {
type = string
description = "The ID of a Coder agent."
@@ -20,7 +19,7 @@ variable "database_path" {
description = "The path to the filebrowser database."
default = "filebrowser.db"
validation {
# condition = endswith(var.database_path, "filebrowser.db")
# Ensures path leads to */filebrowser.db
condition = can(regex(".*filebrowser\\.db$", var.database_path))
error_message = "The database_path must end with 'filebrowser.db'."
}