From e10903c1f1559367d96a16e2ec55558ad2e20fc5 Mon Sep 17 00:00:00 2001 From: Seppdo <85109829+Seppdo@users.noreply.github.com> Date: Tue, 17 Sep 2024 09:45:51 +0200 Subject: [PATCH] Add subdomain variable Add missing subdomain variable --- filebrowser/main.tf | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/filebrowser/main.tf b/filebrowser/main.tf index fe5cc5b..023b5f4 100644 --- a/filebrowser/main.tf +++ b/filebrowser/main.tf @@ -72,6 +72,15 @@ variable "order" { default = null } +variable "subdomain" { + type = bool + description = <<-EOT + Determines whether the app will be accessed via it's own subdomain or whether it will be accessed via a path on Coder. + If wildcards have not been setup by the administrator then apps with "subdomain" set to true will not be accessible. + EOT + default = true +} + resource "coder_script" "filebrowser" { agent_id = var.agent_id display_name = "File Browser"