init
This commit is contained in:
50
terraform/stacks/proxmox/vm/variables.tf
Normal file
50
terraform/stacks/proxmox/vm/variables.tf
Normal file
@@ -0,0 +1,50 @@
|
||||
variable "pm_api_url" {
|
||||
type = string
|
||||
description = "Proxmox API endpoint, e.g. https://proxmox:8006/api2/json"
|
||||
}
|
||||
|
||||
variable "pm_api_token" {
|
||||
type = string
|
||||
description = "Proxmox API token: root@pam!terraform=..."
|
||||
sensitive = true
|
||||
}
|
||||
|
||||
variable "pm_user" {
|
||||
type = string
|
||||
description = "SSH username for Proxmox node"
|
||||
default = "root"
|
||||
}
|
||||
|
||||
variable "pm_password" {
|
||||
type = string
|
||||
description = "SSH password for Proxmox node"
|
||||
sensitive = true
|
||||
}
|
||||
|
||||
variable "target_node" {
|
||||
type = string
|
||||
description = "Target Proxmox node name"
|
||||
}
|
||||
|
||||
variable "template_id" {
|
||||
type = number
|
||||
description = "Template VM ID to clone from"
|
||||
}
|
||||
|
||||
variable "storage" {
|
||||
type = string
|
||||
description = "Default datastore for OS disk"
|
||||
default = "local-lvm"
|
||||
}
|
||||
|
||||
variable "bridge" {
|
||||
type = string
|
||||
description = "Default VM bridge"
|
||||
default = "vmbr0"
|
||||
}
|
||||
|
||||
variable "snippets_storage" {
|
||||
type = string
|
||||
description = "Datastore where 'snippets' content is enabled (usually 'local')"
|
||||
default = "local"
|
||||
}
|
||||
Reference in New Issue
Block a user