fix varibale name in KasmVNC

pull/45/head
Muhammad Atif Ali 2 years ago
parent 4e29f5244e
commit 1e2662023b

@ -29,7 +29,7 @@ Automatically install [KasmVNC](https://kasmweb.com/kasmvnc) in a workspace, and
module "kasmvnc" {
source = "https://registry.coder.com/modules/kasmvnc"
agent_id = coder_agent.example.id
version = "1.0.0"
custom_version = "1.0.0"
desktop_environment = "mate"
port = 6080
}

@ -26,7 +26,7 @@ variable "desktop_environment" {
default = "lxde"
}
variable "version" {
variable "custom_version" {
type = string
description = "Version of KasmVNC to install."
default = "1.2.0"
@ -39,7 +39,7 @@ resource "coder_script" "kasm_vnc" {
script = templatefile("${path.module}/run.sh", {
PORT : var.port,
DESKTOP_ENVIRONMENT : var.desktop_environment,
VERSION : var.version
VERSION : var.custom_version
})
run_on_start = true
}

Loading…
Cancel
Save