From a361764f745d0351d995ea732171129dd1dbf672 Mon Sep 17 00:00:00 2001 From: ChenKaiLiuG <141424456+ChenKaiLiuG@users.noreply.github.com> Date: Mon, 17 Nov 2025 00:50:17 +0800 Subject: [PATCH] Delete vs-code-server/template/variables.tf --- vs-code-server/template/variables.tf | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 vs-code-server/template/variables.tf diff --git a/vs-code-server/template/variables.tf b/vs-code-server/template/variables.tf deleted file mode 100644 index 0224831..0000000 --- a/vs-code-server/template/variables.tf +++ /dev/null @@ -1,26 +0,0 @@ -# 此文件定義 template 的可配置變數 -# 使用者在建立 Workspace 時可以填入這些參數 - -variable "github_token" { - description = "GitHub Personal Access Token for GitHub Copilot authentication (optional, will auto-use OIDC if not provided)" - type = string - sensitive = true - default = "" - - # 使用者提示 - validation { - condition = length(var.github_token) == 0 || startswith(var.github_token, "ghp_") - error_message = "GitHub token should start with 'ghp_' or be empty." - } -} - -# 未來可擴展的變數(示例,目前不需要): -# variable "extensions" { -# description = "VSCode extensions to auto-install" -# type = list(string) -# default = [ -# "github.copilot", -# "ms-vscode.cpptools", -# "ms-python.python" -# ] -# }