Creates a Proxmox VE node on a qemu/libvirt hybervisor for ci purposes.
module "pve_ci_node" {
source = "github.com/znerol-scratch/terraform-module-pve-ci-node"
}
No requirements.
Name | Version |
---|---|
libvirt | 0.8.1 |
random | 3.6.3 |
tls | 4.0.6 |
No modules.
Name | Type |
---|---|
libvirt_cloudinit_disk.ci | resource |
libvirt_domain.node | resource |
libvirt_volume.base | resource |
libvirt_volume.root | resource |
random_password.root | resource |
tls_private_key.keypair | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
libvirt_connect_uri | Connect string for libvirt. | string |
"qemu:///system" |
no |
libvirt_network_name | Network to connect the libvirt PVE node to. | string |
"default" |
no |
libvirt_pool_name | Storage pool to use for libvirt images. | string |
"default" |
no |
name_prefix | Name prefix used for all libvirt resources (domain, image, base image, cloud-init iso). | string |
"pve-ci-node" |
no |
nodename | Hostname to set before PVE is installed. Defaults to name_prefix . |
string |
"" |
no |
password_hash | Hash of root password used to login to the PVE web interface. A password is generated if omitted. | string |
"" |
no |
ssh_private_key | SSH private key to be used to provision the node. A new keypair is generated and stored in terraform state if omitted. | string |
"" |
no |
ssh_public_key | SSH public key added to the default cloud-init account. A new keypair is generated and stored in terraform state if omitted. | string |
"" |
no |
Name | Description |
---|---|
node_url | Web URL of the PVE manager. |
password | Generated initial root password. Empty if password hash was supplied as input. |