2026-05-21 16:44:03 +01:00
variable " pm_api_url " { default = " https://192.168.10.201:8006/api2/json " }
variable " pm_api_token " { default = " terraform@pve!provider=760580c4-5c1f-462b-986a-dd244c6c95f2 " }
variable " storage " { default = " hlst " }
variable " bridge " { default = " vmbr0 " }
variable " os_type " {
default = " alpine "
}
variable " instance_configs " {
type = list ( object ( {
crispy_name = string
vmid = string
} ) )
default = [
{ crispy_name = " snap " , vmid = " 9002 " } ,
{ crispy_name = " crackle " , vmid = " 9000 " } ,
2026-05-21 16:51:06 +01:00
{ crispy_name = " pop " , vmid = " 900 " }
2026-05-21 16:44:03 +01:00
]
}
variable " clone_count " {
type = number
default = 1
}
variable " vm_count " { default = 1 }
variable " name_prefix " { default = " dev " }
variable " vm_ram " { default = 2048 }
variable " vm_cpu " { default = 1 }
variable " vm_size " { default = 10 }
variable " vm_bios " {
description = " Type of BIOS used for the VM "
type = string
default = " ovmf "
}
variable " vm_machine " {
description = " Type of machine used for the VM "
type = string
default = " q35 "
}
variable " vm_tags " {
description = " Tags for the VM "
type = list ( any )
default = [ " test " , " terraform " ]
}
variable " ipconfig0 " { default = " ip=dhcp " }
variable " access_key " {
type = string
default = " GK242d456c0692a9d4cc102206 "
}
variable " secret_key " {
type = string
default = " 1d7e22b7a8892cb11b569017659aa511b37b53287c4d1699c310d9f8ac76df09 "
}
variable " region " {
type = string
default = " garage "
}
variable " endpoints_s3 " {
type = string
description = " S3 endpoint "
default = " http://192.168.10.109:3909 "
}
variable " skip_credentials_validation " {
type = bool
default = true
}
variable " skip_requesting_account_id " {
type = bool
default = true
}
variable " skip_metadata_api_check " {
type = bool
default = true
}
variable " skip_region_validation " {
type = bool
default = true
}
variable " use_path_style " {
type = bool
default = true
}
variable " use_lockfile " {
type = bool
default = true
}
variable " vm_name " {
description = " Hostname of the VM "
type = string
default = " Lab "
}
variable " vm_user_sshkey " {
description = " Admin user SSH key of the VM "
type = string
default = " ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDRlWaLBt/qmWY01Cd6jN/YxLnlT+6lg+evEdN/dIajirdTj1rCbAdlG3WYvo+4BpN17HK3/eGQpGUMbgI/8MVd8YPODcD34gaNX0w2v66BwHx+S6BZUpz5T2IoQT0JtSv/TtFICoff5gXdNRpfd4eWsmTioEqLA6oToJLE4dn3jvAzFi9y7fyLqvuoQMmPidYYJjGT30eiULtXNspoEP+GmuWmVEu+znzMWaKDWKdOsii4Cv1aWCRKSDDRzDBrZI2mP+Vm4HDQBdgDYRw4ehumMDtfaSjyJCnrk691bIM+wxzICuIEecg5kq5HcUPvo2mFyWPAEXb5xlXnuopYEBd7 Generated By NeoServer "
}
variable " node_name " {
description = " Proxmox host for the VM "
type = string
default = " pop "
}
variable " node_datastore " {
description = " Datastore used for VM storage "
type = string
default = " hlst "
}
variable " vm_template " {
description = " Template of the VM "
type = string
default = " ubuntu-cloud "
}
variable " vm_user " {
description = " Admin user of the VM "
type = string
default = " cloud "
}