Update terraform/variables.tf

This commit is contained in:
2022-11-05 13:12:59 +00:00
parent e18a59b0a5
commit 23e9f00454

View File

@@ -1,55 +1,55 @@
variable "pm_api_url" {
description = "API URL to Proxmox provider"
type = string
description = "API URL to Proxmox provider"
type = string
}
variable "dnsserver" {
description = "DNS provider"
type = string
description = "DNS provider"
type = string
}
variable "sshkeys" {
description = "Public SSH key to inject into CloudInit"
type = string
description = "Public SSH key to inject into CloudInit"
type = string
}
variable "pm_password" {
description = "Passowrd to Proxmox provider"
type = string
description = "Passowrd to Proxmox provider"
type = string
}
variable "pm_user" {
description = "UIsername to Proxmox provider"
type = string
default = "root@pam"
description = "UIsername to Proxmox provider"
type = string
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 = string
node = string
ip = list(number)
count = number
name = list(string)
cores = number
memory = number
drive = string
storage = string
template = string
node = string
ip = list(number)
})
}
variable "k3server" {
description = "Defaults of worker nodes in K3S"
type = object({
count = number
name = list(string)
cores = number
memory = number
drive = string
storage = string
template = string
node = string
ip = list(number)
count = number
name = list(string)
cores = number
memory = number
drive = string
storage = string
template = string
node = string
ip = list(number)
})
}