Skip to content

Commit

Permalink
update icon
Browse files Browse the repository at this point in the history
  • Loading branch information
matifali committed Sep 26, 2023
1 parent 7f0e603 commit 9e1502a
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions jupyterlab/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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"
}

0 comments on commit 9e1502a

Please sign in to comment.