refactor(terraform): structure directories by hypervisor (netcore/ and pve/)
This commit is contained in:
1 parent
2b23809bc3
commit
2bc77b50f4
11 files changed
+105
-7
No files matched your search
@@ -0,0 +1,32 @@
|
||||
variable "proxmox_endpoint" {
|
||||
description = "URL Proxmox API для узла pve"
|
||||
type = string
|
||||
default = "https://192.168.1.2:8006/"
|
||||
}
|
||||
|
||||
variable "proxmox_api_token" {
|
||||
description = "API Token Proxmox в формате USER@REALM!TOKENID=UUID_SECRET"
|
||||
type = string
|
||||
sensitive = true
|
||||
}
|
||||
|
||||
variable "proxmox_insecure" {
|
||||
description = "Разрешить самоподписанные SSL-сертификаты Proxmox"
|
||||
type = bool
|
||||
default = true
|
||||
}
|
||||
|
||||
variable "proxmox_node" {
|
||||
description = "Имя ноды Proxmox"
|
||||
type = string
|
||||
default = "pve"
|
||||
}
|
||||
|
||||
variable "ssh_public_keys" {
|
||||
description = "Список публичных SSH-ключей для доступа к создаваемым контейнерам"
|
||||
type = list(string)
|
||||
default = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIF/yxhAs022l/8FlPlhyi7NeF3CvVGsev3B1HtKICO7M root_from_windows",
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEpwqB40k8QQq3k8160gfMKDaCJCX9qzvmuijfe3mO4I gitea-runner"
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user