feat(terraform): define core-net LXC container (CT 902) on netcore

This commit is contained in:
karpenok committed 2026-11-09 20:00:34 +07:00
1 parent 8e6f5dd5fe
commit 2b23809bc3
7 files changed
+102 -53

No files matched your search

+11 -7
View File
@@ -1,6 +1,7 @@
variable "proxmox_endpoint" {
description = "URL Proxmox API (например, https://192.168.1.100:8006/)"
description = "URL Proxmox API (по умолчанию netcore)"
type = string
default = "https://192.168.1.100:8006/"
}
variable "proxmox_api_token" {
@@ -16,13 +17,16 @@ variable "proxmox_insecure" {
}
variable "proxmox_node" {
description = "Имя ноды Proxmox (например, pve)"
description = "Имя ноды Proxmox"
type = string
default = "pve"
default = "netcore"
}
variable "ssh_public_key" {
description = "Публичный SSH-ключ для доступа к создаваемым контейнерам"
type = string
variable "ssh_public_keys" {
description = "Список публичных SSH-ключей для доступа к создаваемым контейнерам"
type = list(string)
default = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIF/yxhAs022l/8FlPlhyi7NeF3CvVGsev3B1HtKICO7M root_from_windows",
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEpwqB40k8QQq3k8160gfMKDaCJCX9qzvmuijfe3mO4I gitea-runner"
]
}