update
This commit is contained in:
@@ -60,7 +60,6 @@ locals {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
resource "proxmox_vm_qemu" "k3master" {
|
||||
count = local.config.k3master.count
|
||||
ciuser = "administrator"
|
||||
|
||||
@@ -7,11 +7,6 @@ variable "pm_api_url" {
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "dnsserver" {
|
||||
description = "DNS provider"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "pm_password" {
|
||||
description = "Passowrd to Proxmox provider"
|
||||
type = string
|
||||
@@ -23,38 +18,6 @@ variable "pm_user" {
|
||||
default = "root@pam"
|
||||
}
|
||||
|
||||
variable "k3master" {
|
||||
description = "Defaults of master nodes in K3S"
|
||||
type = object({
|
||||
count = number
|
||||
name = list(string)
|
||||
cores = number
|
||||
memory = number
|
||||
drive = string
|
||||
storage = string
|
||||
template = list(string)
|
||||
node = list(string)
|
||||
ip = list(number)
|
||||
vlan = number
|
||||
})
|
||||
}
|
||||
|
||||
variable "k3server" {
|
||||
description = "Defaults of master nodes in K3S"
|
||||
type = object({
|
||||
count = number
|
||||
name = list(string)
|
||||
cores = number
|
||||
memory = number
|
||||
drive = string
|
||||
storage = string
|
||||
template = list(string)
|
||||
node = list(string)
|
||||
ip = list(number)
|
||||
vlan = number
|
||||
})
|
||||
}
|
||||
|
||||
variable "environment" {
|
||||
description = "environment of the deployment"
|
||||
type = string
|
||||
|
||||
Reference in New Issue
Block a user