Delete vs-code-server/template/variables.tf

This commit is contained in:
ChenKaiLiuG
2025-11-17 00:50:17 +08:00
committed by GitHub
parent 61e5e9f360
commit a361764f74

View File

@@ -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"
# ]
# }