Update terraform/variables.tf
This commit is contained in:
@@ -1,55 +1,55 @@
|
|||||||
variable "pm_api_url" {
|
variable "pm_api_url" {
|
||||||
description = "API URL to Proxmox provider"
|
description = "API URL to Proxmox provider"
|
||||||
type = string
|
type = string
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "dnsserver" {
|
variable "dnsserver" {
|
||||||
description = "DNS provider"
|
description = "DNS provider"
|
||||||
type = string
|
type = string
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "sshkeys" {
|
variable "sshkeys" {
|
||||||
description = "Public SSH key to inject into CloudInit"
|
description = "Public SSH key to inject into CloudInit"
|
||||||
type = string
|
type = string
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "pm_password" {
|
variable "pm_password" {
|
||||||
description = "Passowrd to Proxmox provider"
|
description = "Passowrd to Proxmox provider"
|
||||||
type = string
|
type = string
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "pm_user" {
|
variable "pm_user" {
|
||||||
description = "UIsername to Proxmox provider"
|
description = "UIsername to Proxmox provider"
|
||||||
type = string
|
type = string
|
||||||
default = "root@pam"
|
default = "root@pam"
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "k3master" {
|
variable "k3master" {
|
||||||
description = "Defaults of master nodes in K3S"
|
description = "Defaults of master nodes in K3S"
|
||||||
type = object({
|
type = object({
|
||||||
count = number
|
count = number
|
||||||
name = list(string)
|
name = list(string)
|
||||||
cores = number
|
cores = number
|
||||||
memory = number
|
memory = number
|
||||||
drive = string
|
drive = string
|
||||||
storage = string
|
storage = string
|
||||||
template = string
|
template = string
|
||||||
node = string
|
node = string
|
||||||
ip = list(number)
|
ip = list(number)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "k3server" {
|
variable "k3server" {
|
||||||
description = "Defaults of worker nodes in K3S"
|
description = "Defaults of worker nodes in K3S"
|
||||||
type = object({
|
type = object({
|
||||||
count = number
|
count = number
|
||||||
name = list(string)
|
name = list(string)
|
||||||
cores = number
|
cores = number
|
||||||
memory = number
|
memory = number
|
||||||
drive = string
|
drive = string
|
||||||
storage = string
|
storage = string
|
||||||
template = string
|
template = string
|
||||||
node = string
|
node = string
|
||||||
ip = list(number)
|
ip = list(number)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user