From 772ba22a98c061b3f7364a140d3f1d8cf1b2d46c Mon Sep 17 00:00:00 2001 From: Seppdo <85109829+Seppdo@users.noreply.github.com> Date: Fri, 30 Aug 2024 13:44:06 +0200 Subject: [PATCH] Update filebrowser/main.tf Co-authored-by: Muhammad Atif Ali --- filebrowser/main.tf | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/filebrowser/main.tf b/filebrowser/main.tf index b17e419..db79f81 100644 --- a/filebrowser/main.tf +++ b/filebrowser/main.tf @@ -14,10 +14,8 @@ variable "agent_id" { description = "The ID of a Coder agent." } -variable "workspace_name" { - type = string - default = "" - description = "Set this and owner_name to serve filebrowser from subdirectory." +data "coder_workspace" "me" { + count = var.subdomain } variable "owner_name" {