update icon

pull/45/head
Muhammad Atif Ali 2 years ago
parent 7f0e603973
commit 9e1502a45b
No known key found for this signature in database

@ -9,10 +9,6 @@ terraform {
} }
} }
locals {
icon_url = "/icon/jupyter.svg"
}
# Add required variables for your modules and remove any unneeded variables # Add required variables for your modules and remove any unneeded variables
variable "agent_id" { variable "agent_id" {
type = string type = string
@ -34,7 +30,7 @@ variable "port" {
resource "coder_script" "jupyterlab" { resource "coder_script" "jupyterlab" {
agent_id = var.agent_id agent_id = var.agent_id
display_name = "jupyterlab" display_name = "jupyterlab"
icon = local.icon_url icon = "/icon/jupyter.svg"
script = templatefile("${path.module}/run.sh", { script = templatefile("${path.module}/run.sh", {
LOG_PATH : var.log_path, LOG_PATH : var.log_path,
PORT : var.port PORT : var.port
@ -47,7 +43,7 @@ resource "coder_app" "jupyterlab" {
slug = "jupyterlab" slug = "jupyterlab"
display_name = "JupyterLab" display_name = "JupyterLab"
url = "http://localhost:${var.port}" url = "http://localhost:${var.port}"
icon = local.icon_url icon = "/icon/jupyter.svg"
subdomain = true subdomain = true
share = "owner" share = "owner"
} }

Loading…
Cancel
Save