File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,14 @@ variable "order" {
5151 default = null
5252}
5353
54+ variable "additional_packages" {
55+ type = string
56+ description = " Addition pip package (ex. extension) to install for jupyterlab. Example jupyterlab-git (space separated)
57+ default = " "
58+ }
59+
60+ JUPYTER_ADDITIONAL_PACKAGES
61+
5462resource " coder_script" " jupyterlab" {
5563 agent_id = var.agent_id
5664 display_name = " jupyterlab"
@@ -59,6 +67,7 @@ resource "coder_script" "jupyterlab" {
5967 LOG_PATH : var.log_path,
6068 PORT : var.port
6169 BASE_URL : var.subdomain ? " " : " / @${data.coder_workspace_owner.me.name}/ ${data.coder_workspace.me.name}/ apps/ jupyterlab"
70+ JUPYTER_ADDITIONAL_PACKAGES : var.additional_packages
6271 })
6372 run_on_start = true
6473}
You can’t perform that action at this time.
0 commit comments