From 9e1502a45bbd2cce7aeed3092d46b47e23e345e7 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Tue, 26 Sep 2023 10:53:53 +0300 Subject: [PATCH] update icon --- jupyterlab/main.tf | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/jupyterlab/main.tf b/jupyterlab/main.tf index cab53ee0..1727aa44 100644 --- a/jupyterlab/main.tf +++ b/jupyterlab/main.tf @@ -9,10 +9,6 @@ terraform { } } -locals { - icon_url = "/icon/jupyter.svg" -} - # Add required variables for your modules and remove any unneeded variables variable "agent_id" { type = string @@ -34,7 +30,7 @@ variable "port" { resource "coder_script" "jupyterlab" { agent_id = var.agent_id display_name = "jupyterlab" - icon = local.icon_url + icon = "/icon/jupyter.svg" script = templatefile("${path.module}/run.sh", { LOG_PATH : var.log_path, PORT : var.port @@ -47,7 +43,7 @@ resource "coder_app" "jupyterlab" { slug = "jupyterlab" display_name = "JupyterLab" url = "http://localhost:${var.port}" - icon = local.icon_url + icon = "/icon/jupyter.svg" subdomain = true share = "owner" }