pulumi-templates/pvm-ansible/Pulumi.yaml

65 lines
1.7 KiB
YAML

---
name: ${PROJECT}
description: ${DESCRIPTION}
runtime: python
template:
description: ProxmoxVE provider, Ansible powered with Python
config:
pveHostname:
type: String
default: pve.vavassori.lcl
description: PVE hostname
pveNodeName:
type: String
default: pve
description: Node of the Proxmox VE to which write the VM.
pveVerifySSL:
type: Number
default: 0
description: Verify SSL certificate of PVE Node
pveTokenName:
type: String
default: root@pam!automata
description: Authentication token for PVE Node
pveTokenValue:
type: String
secret: true
description: Authentication token value for PVE Node
pveDefaultStorage:
type: String
default: local-lvm
description: Default storage in which put the VMs
hostname:
type: String
description: Hostname of the new machine
vmTemplate:
type: String
default: debian12
description: OS name of the needed template
vmSockets:
type: Number
default: 1
description: Number of sockets of the new VMs
vmCores:
type: Number
default: 1
description: Number of cores per socket of the new VM
vmRAM:
type: Number
default: 2048
description: Number of MBs of RAM of the new VM
vmDiskSize:
type: Number
default: 20
description: Number of GBs of the VM disk
cloudUsername:
type: String
default: syntaxerrormmm
description: Username created in the cloud-init phase
cloudPassword:
type: String
default: cicciopasticcio
secret: true
description: Password of the username created in the cloud-init phase.