| 
						
						
						
					 | 
					 | 
					@ -1,5 +1,5 @@
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					terraform {
 | 
					 | 
					 | 
					 | 
					terraform {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  required_version = ">= 1.0"
 | 
					 | 
					 | 
					 | 
					  required_version = ">= 1.3"
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  required_providers {
 | 
					 | 
					 | 
					 | 
					  required_providers {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    coder = {
 | 
					 | 
					 | 
					 | 
					    coder = {
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -20,7 +20,8 @@ variable "database_path" {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  description = "The path to the filebrowser database."
 | 
					 | 
					 | 
					 | 
					  description = "The path to the filebrowser database."
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  default     = "filebrowser.db"
 | 
					 | 
					 | 
					 | 
					  default     = "filebrowser.db"
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  validation {
 | 
					 | 
					 | 
					 | 
					  validation {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    condition     = can(regex(".*filebrowser\\.db$", var.database_path))
 | 
					 | 
					 | 
					 | 
					    condition     = endswith(var.database_path, "filebrowser.db")
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    # condition     = can(regex(".*filebrowser\\.db$", var.database_path))
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    error_message = "The database_path must end with 'filebrowser.db'."
 | 
					 | 
					 | 
					 | 
					    error_message = "The database_path must end with 'filebrowser.db'."
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  }
 | 
					 | 
					 | 
					 | 
					  }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					}
 | 
					 | 
					 | 
					 | 
					}
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
 
 |