update vars
This commit is contained in:
parent
f19741624d
commit
6cc7540c28
1 changed files with 22 additions and 19 deletions
|
|
@ -1,27 +1,30 @@
|
|||
variable "pve_endpoint" { type = string }
|
||||
variable "pve_token_id" { type = string }
|
||||
variable "pve_endpoint" {
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "pve_token_id" {
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "pve_token_secret" {
|
||||
type = string
|
||||
sensitive = true
|
||||
}
|
||||
|
||||
# Infrastructure Settings
|
||||
variable "target_node" {
|
||||
type = string
|
||||
default = "pve1"
|
||||
}
|
||||
|
||||
variable "lxc_id" {
|
||||
type = number
|
||||
description = "The ID of the new LXC (e.g., 201)"
|
||||
}
|
||||
|
||||
variable "source_template_id" {
|
||||
type = number
|
||||
default = 9000
|
||||
description = "The ID of your Golden Image"
|
||||
}
|
||||
|
||||
variable "lxc_hostname" {
|
||||
variable "lxc_inventory" {
|
||||
type = map(object({
|
||||
node = string
|
||||
hostname = string
|
||||
disk_size = string
|
||||
cores = number
|
||||
memory = number
|
||||
vlan = number
|
||||
ip = string
|
||||
gw = string
|
||||
}))
|
||||
}
|
||||
|
||||
variable "lxc_root_password" {
|
||||
type = string
|
||||
sensitive = true
|
||||
}
|
||||
Loading…
Reference in a new issue