From b1c13e1d08636fe6c4fd5951a18fb7ed1c1467f7 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Tue, 24 Sep 2024 11:20:39 +0500 Subject: [PATCH] Fix validation for filebrowser agent_name condition --- filebrowser/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filebrowser/main.tf b/filebrowser/main.tf index 13038c1..4fd7459 100644 --- a/filebrowser/main.tf +++ b/filebrowser/main.tf @@ -23,7 +23,7 @@ variable "agent_name" { description = "The name of the main deployment. (Used to build the subpath for coder_app.)" default = "" validation { - # If subdomain is true, then agent_name must be set. + # If subdomain is false, then agent_name must be set. condition = var.subdomain || var.agent_name != "" error_message = "The agent_name must be set." }