从旧工作区 chore/recover-old-workspace 清理时保存,内容与 2026-09-17
stash@{0} 快照中的版本一致;未合并、未在 main 上使用,仅作参考,不开 PR。
被 gitignore 的 tfstate 与凭据文件不在此分支,仍留在本地工作区。
Co-Authored-By: Claude Opus 5.5 <[email protected]>
16 lines
317 B
Terraform
16 lines
317 B
Terraform
provider "proxmox" {
|
|
endpoint = var.proxmox_endpoint
|
|
api_token = var.proxmox_api_token
|
|
|
|
ssh {
|
|
agent = false
|
|
username = "root"
|
|
private_key = file(pathexpand(var.proxmox_ssh_private_key_file))
|
|
|
|
node {
|
|
name = var.proxmox_node
|
|
address = var.proxmox_node_address
|
|
}
|
|
}
|
|
}
|