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_endpoint" {
|
||||||
variable "pve_token_id" { type = string }
|
type = string
|
||||||
|
}
|
||||||
|
|
||||||
|
variable "pve_token_id" {
|
||||||
|
type = string
|
||||||
|
}
|
||||||
|
|
||||||
variable "pve_token_secret" {
|
variable "pve_token_secret" {
|
||||||
type = string
|
type = string
|
||||||
sensitive = true
|
sensitive = true
|
||||||
}
|
}
|
||||||
|
|
||||||
# Infrastructure Settings
|
variable "lxc_inventory" {
|
||||||
variable "target_node" {
|
type = map(object({
|
||||||
type = string
|
node = string
|
||||||
default = "pve1"
|
hostname = string
|
||||||
|
disk_size = string
|
||||||
|
cores = number
|
||||||
|
memory = number
|
||||||
|
vlan = number
|
||||||
|
ip = string
|
||||||
|
gw = string
|
||||||
|
}))
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "lxc_id" {
|
variable "lxc_root_password" {
|
||||||
type = number
|
type = string
|
||||||
description = "The ID of the new LXC (e.g., 201)"
|
sensitive = true
|
||||||
}
|
|
||||||
|
|
||||||
variable "source_template_id" {
|
|
||||||
type = number
|
|
||||||
default = 9000
|
|
||||||
description = "The ID of your Golden Image"
|
|
||||||
}
|
|
||||||
|
|
||||||
variable "lxc_hostname" {
|
|
||||||
type = string
|
|
||||||
}
|
}
|
||||||
Loading…
Reference in a new issue