68 lines
864 B
HCL
68 lines
864 B
HCL
variable "ssh_key" {
|
|
type = string
|
|
}
|
|
|
|
variable "nodes" {
|
|
type = map(object({
|
|
role = string
|
|
index = number
|
|
cpu = number
|
|
memory = number
|
|
disk = number
|
|
datastore = string
|
|
ip_offset = number
|
|
}))
|
|
}
|
|
|
|
variable "hostname_prefix" {
|
|
type = string
|
|
}
|
|
|
|
variable "cluster_ip_start" {
|
|
type = number
|
|
}
|
|
|
|
variable "master_vmid_start" {
|
|
type = number
|
|
}
|
|
|
|
variable "worker_vmid_start" {
|
|
type = number
|
|
}
|
|
|
|
variable "cloudinit_datastore" {
|
|
type = string
|
|
}
|
|
|
|
variable "proxmox_node" {
|
|
type = string
|
|
}
|
|
|
|
variable "node_bridge" {
|
|
type = string
|
|
}
|
|
|
|
variable "image_datastore" {
|
|
type = string
|
|
}
|
|
|
|
variable "image_file" {
|
|
type = string
|
|
}
|
|
|
|
variable "disk_interface" {
|
|
type = string
|
|
}
|
|
|
|
variable "network_base" {
|
|
type = string
|
|
}
|
|
|
|
variable "network_cidr" {
|
|
type = number
|
|
}
|
|
|
|
variable "cluster_gateway" {
|
|
type = string
|
|
}
|