diff --git a/proxmox/terraform/production/production.tf b/proxmox/terraform/production/production.tf --- a/proxmox/terraform/production/production.tf +++ b/proxmox/terraform/production/production.tf @@ -136,3 +136,25 @@ output "worker18_summary" { value = module.worker18.summary } + + +module "provenance-client01" { + source = "../modules/node" + config = local.config + + hostname = "provenance-client01" + description = "Provenance client" + template = "debian-bullseye-11.2-2022-01-03" + hypervisor = "uffizi" + cores = "4" + sockets = "4" + memory = "131072" + balloon = 32768 + networks = [{ + id = 0 + ip = "192.168.100.111" + gateway = local.config["gateway_ip"] + macaddr = null + bridge = "vmbr0" + }] +} diff --git a/proxmox/terraform/production/terraform.tfstate b/proxmox/terraform/production/terraform.tfstate --- a/proxmox/terraform/production/terraform.tfstate +++ b/proxmox/terraform/production/terraform.tfstate @@ -1,7 +1,7 @@ { "version": 4, "terraform_version": "1.1.3", - "serial": 143, + "serial": 145, "lineage": "e2912de8-415d-4c35-8ee5-757008306227", "outputs": { "worker18_summary": { @@ -264,6 +264,130 @@ } ] }, + { + "module": "module.provenance-client01", + "mode": "managed", + "type": "proxmox_vm_qemu", + "name": "node", + "provider": "module.provenance-client01.provider[\"registry.terraform.io/telmate/proxmox\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "additional_wait": 0, + "agent": 0, + "args": "", + "balloon": 32768, + "bios": "seabios", + "boot": "c", + "bootdisk": "", + "bridge": "", + "ci_wait": null, + "cicustom": "", + "cipassword": "", + "ciuser": "root", + "clone": "debian-bullseye-11.2-2022-01-03", + "clone_wait": 0, + "cloudinit_cdrom_storage": null, + "cores": 4, + "cpu": "kvm64", + "default_ipv4_address": null, + "define_connection_info": true, + "desc": "Provenance client", + "disk": [ + { + "backup": 0, + "cache": "none", + "discard": "", + "file": "base-10006-disk-0/vm-126-disk-0", + "format": "", + "iothread": 0, + "mbps": 0, + "mbps_rd": 0, + "mbps_rd_max": 0, + "mbps_wr": 0, + "mbps_wr_max": 0, + "media": "", + "replicate": 0, + "size": "32G", + "slot": 0, + "ssd": 0, + "storage": "proxmox", + "storage_type": "rbd", + "type": "virtio", + "volume": "proxmox:base-10006-disk-0/vm-126-disk-0" + } + ], + "disk_gb": 0, + "force_create": false, + "force_recreate_on_change_of": null, + "full_clone": false, + "guest_agent_ready_timeout": 100, + "hagroup": "", + "hastate": "", + "hotplug": "network,disk,usb", + "id": "uffizi/qemu/126", + "ipconfig0": "ip=192.168.100.111/24,gw=192.168.100.1", + "ipconfig1": "", + "ipconfig2": "", + "ipconfig3": "", + "ipconfig4": "", + "ipconfig5": "", + "iso": null, + "kvm": true, + "mac": "", + "memory": 131072, + "name": "provenance-client01", + "nameserver": "192.168.100.29", + "network": [ + { + "bridge": "vmbr0", + "firewall": false, + "link_down": false, + "macaddr": "36:7C:40:3D:AA:DA", + "model": "virtio", + "queues": 0, + "rate": 0, + "tag": -1 + } + ], + "nic": "", + "numa": false, + "onboot": true, + "oncreate": true, + "os_network_config": null, + "os_type": "cloud-init", + "pool": "", + "preprovision": true, + "qemu_os": "other", + "reboot_required": false, + "scsihw": "virtio-scsi-pci", + "searchdomain": "internal.softwareheritage.org", + "serial": [], + "sockets": 4, + "ssh_forward_ip": null, + "ssh_host": null, + "ssh_port": null, + "ssh_private_key": null, + "ssh_user": "root", + "sshkeys": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDVKCfpeIMg7GS3Pk03ZAcBWAeDZ+AvWk2k/pPY0z8MJ3YAbqZkRtSK7yaDgJV6Gro7nn/TxdJLo2jEzzWvlC8d8AEzhZPy5Z/qfVVjqBTBM4H5+e+TItAHFfaY5+0WvIahxcfsfaq70MWfpJhszAah3ThJ4mqzYaw+dkr42+a7Gx3Ygpb/m2dpnFnxvXdcuAJYStmHKU5AWGWWM+Fm50/fdMqUfNd8MbKhkJt5ihXQmZWMOt7ls4N8i5NZWnS9YSWow8X/ENOEqCRN9TyRkc+pPS0w9DNi0BCsWvSRJOkyvQ6caEnKWlNoywCmM1AlIQD3k4RUgRWe0vqg/UKPpH3Z root@terraform\n", + "storage": "", + "storage_type": "", + "tablet": true, + "tags": "", + "target_node": "uffizi", + "timeouts": null, + "unused_disk": [], + "vcpus": 0, + "vga": [], + "vlan": -1, + "vmid": null + }, + "sensitive_attributes": [], + "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjozMDAwMDAwMDAwMDAsImRlZmF1bHQiOjMwMDAwMDAwMDAwMCwiZGVsZXRlIjoxODAwMDAwMDAwMDAsInJlYWQiOjE4MDAwMDAwMDAwMCwidXBkYXRlIjoxODAwMDAwMDAwMDB9fQ==" + } + ] + }, { "module": "module.search1", "mode": "managed",