Обновить terraform/variables.tf
This commit is contained in:
@@ -1,17 +1,6 @@
|
||||
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 "proxmox_api_url" { type = string }
|
||||
variable "proxmox_api_token_id" { type = string }
|
||||
variable "proxmox_api_token_secret" { type = string }
|
||||
|
||||
variable "vm_nodes" {
|
||||
type = map(object({
|
||||
@@ -20,7 +9,7 @@ variable "vm_nodes" {
|
||||
name = string
|
||||
}))
|
||||
default = {
|
||||
"master" = { id = 201, ip = "10.33.33.201", name = "k8s-master" }
|
||||
"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" }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user