From 1e2662023bdda69d8261b9c08c25f0dcd4159839 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Tue, 26 Sep 2023 03:32:45 +0300 Subject: [PATCH] fix varibale name in KasmVNC --- kasmvnc/README.md | 2 +- kasmvnc/main.tf | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/kasmvnc/README.md b/kasmvnc/README.md index 0bfcaf9..8ca653a 100644 --- a/kasmvnc/README.md +++ b/kasmvnc/README.md @@ -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 } diff --git a/kasmvnc/main.tf b/kasmvnc/main.tf index 6fd0ba4..bd1cc0a 100644 --- a/kasmvnc/main.tf +++ b/kasmvnc/main.tf @@ -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 }