Files
IaC/terraform/variables.tf

27 lines
635 B
HCL
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
variable "proxmox_api_url" {
type = string
default = "https://10.33.33.10:8006/api2/json" # ЗАМЕНИТЕ НА ВАШ IP Proxmox
}
variable "proxmox_api_token_id" {
type = string
sensitive = true
}
variable "proxmox_api_token_secret" {
type = string
sensitive = true
}
variable "vm_nodes" {
type = map(object({
id = number
ip = string
name = string
}))
default = {
"master" = { id = 201, ip = "10.33.33.201", name = "k8s-master" }
"worker1" = { id = 202, ip = "10.33.33.202", name = "k8s-worker-1" }
"worker2" = { id = 203, ip = "10.33.33.203", name = "k8s-worker-2" }
}
}