|
1 | 1 | {
|
2 | 2 | "version": 4,
|
3 | 3 | "terraform_version": "1.10.2",
|
4 |
| - "serial": 51, |
| 4 | + "serial": 79, |
5 | 5 | "lineage": "c6da0a51-4628-6462-35ee-3e2611ac5d35",
|
6 | 6 | "outputs": {},
|
7 | 7 | "resources": [
|
| 8 | + { |
| 9 | + "mode": "managed", |
| 10 | + "type": "libvirt_domain", |
| 11 | + "name": "node0", |
| 12 | + "provider": "provider[\"registry.terraform.io/dmacvicar/libvirt\"]", |
| 13 | + "instances": [ |
| 14 | + { |
| 15 | + "status": "tainted", |
| 16 | + "schema_version": 0, |
| 17 | + "attributes": { |
| 18 | + "arch": null, |
| 19 | + "autostart": null, |
| 20 | + "boot_device": [ |
| 21 | + { |
| 22 | + "dev": [ |
| 23 | + "cdrom", |
| 24 | + "hd" |
| 25 | + ] |
| 26 | + } |
| 27 | + ], |
| 28 | + "cloudinit": null, |
| 29 | + "cmdline": null, |
| 30 | + "console": [], |
| 31 | + "coreos_ignition": null, |
| 32 | + "cpu": [ |
| 33 | + { |
| 34 | + "mode": "host-passthrough" |
| 35 | + } |
| 36 | + ], |
| 37 | + "description": null, |
| 38 | + "disk": [ |
| 39 | + { |
| 40 | + "block_device": "", |
| 41 | + "file": "", |
| 42 | + "scsi": false, |
| 43 | + "url": "", |
| 44 | + "volume_id": "/vmdisks/node0.qcow2", |
| 45 | + "wwn": "" |
| 46 | + }, |
| 47 | + { |
| 48 | + "block_device": "", |
| 49 | + "file": "", |
| 50 | + "scsi": false, |
| 51 | + "url": "", |
| 52 | + "volume_id": "/vmdisks/archlinux-2024.08.01-x86_64.iso", |
| 53 | + "wwn": "" |
| 54 | + } |
| 55 | + ], |
| 56 | + "emulator": null, |
| 57 | + "filesystem": [], |
| 58 | + "firmware": "/usr/share/edk2/x64/OVMF_CODE.4m.fd", |
| 59 | + "fw_cfg_name": "opt/com.coreos/config", |
| 60 | + "graphics": [ |
| 61 | + { |
| 62 | + "autoport": true, |
| 63 | + "listen_address": "0.0.0.0", |
| 64 | + "listen_type": "address", |
| 65 | + "type": "vnc", |
| 66 | + "websocket": 0 |
| 67 | + } |
| 68 | + ], |
| 69 | + "id": "ce2c26b8-2243-4830-8539-83a43622db28", |
| 70 | + "initrd": null, |
| 71 | + "kernel": null, |
| 72 | + "machine": "q35", |
| 73 | + "memory": 1024, |
| 74 | + "metadata": null, |
| 75 | + "name": "node0", |
| 76 | + "network_interface": [ |
| 77 | + { |
| 78 | + "addresses": [], |
| 79 | + "bridge": "", |
| 80 | + "hostname": "", |
| 81 | + "mac": "", |
| 82 | + "macvtap": "", |
| 83 | + "network_id": "e929708e-fe21-4386-9939-70f8c3a2eaa3", |
| 84 | + "network_name": "", |
| 85 | + "passthrough": "", |
| 86 | + "vepa": "", |
| 87 | + "wait_for_lease": true |
| 88 | + } |
| 89 | + ], |
| 90 | + "nvram": [ |
| 91 | + { |
| 92 | + "file": "/var/lib/libvirt/qemu/nvram/node0_VARS.fd", |
| 93 | + "template": "/usr/share/edk2/x64/OVMF_VARS.4m.fd" |
| 94 | + } |
| 95 | + ], |
| 96 | + "qemu_agent": false, |
| 97 | + "running": true, |
| 98 | + "timeouts": null, |
| 99 | + "tpm": [], |
| 100 | + "type": "kvm", |
| 101 | + "vcpu": 1, |
| 102 | + "video": [ |
| 103 | + { |
| 104 | + "type": "virtio" |
| 105 | + } |
| 106 | + ], |
| 107 | + "xml": [ |
| 108 | + { |
| 109 | + "xslt": "\u003c?xml version=\"1.0\" ?\u003e\n\u003cxsl:stylesheet version=\"1.0\" xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\"\u003e\n \u003cxsl:template match=\"/domain/os\"\u003e\n \u003cxsl:copy\u003e\n \u003cxsl:apply-templates select=\"@*|node()\"/\u003e\n \u003cloader readonly=\"yes\" type=\"pflash\"\u003e/usr/share/ovmf/x64/OVMF_CODE.fd\u003c/loader\u003e\n \u003cnvram\u003e/var/lib/libvirt/qemu/nvram/node0_VARS.fd\u003c/nvram\u003e\n \u003c/xsl:copy\u003e\n \u003c/xsl:template\u003e\n \u003cxsl:template match=\"@*|node()\"\u003e\n \u003cxsl:copy\u003e\n \u003cxsl:apply-templates select=\"@*|node()\"/\u003e\n \u003c/xsl:copy\u003e\n \u003c/xsl:template\u003e\n\u003c/xsl:stylesheet\u003e\n" |
| 110 | + } |
| 111 | + ] |
| 112 | + }, |
| 113 | + "sensitive_attributes": [], |
| 114 | + "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjozMDAwMDAwMDAwMDB9fQ==", |
| 115 | + "dependencies": [ |
| 116 | + "libvirt_network.devsecops2", |
| 117 | + "libvirt_pool.vmdisks", |
| 118 | + "libvirt_volume.arch_iso", |
| 119 | + "libvirt_volume.node0_disk" |
| 120 | + ] |
| 121 | + } |
| 122 | + ] |
| 123 | + }, |
8 | 124 | {
|
9 | 125 | "mode": "managed",
|
10 | 126 | "type": "libvirt_network",
|
|
36 | 152 | ],
|
37 | 153 | "dnsmasq_options": [],
|
38 | 154 | "domain": "devsecops2.local",
|
39 |
| - "id": "702e92b3-68f4-433e-90c3-13657fd0e788", |
| 155 | + "id": "e929708e-fe21-4386-9939-70f8c3a2eaa3", |
40 | 156 | "mode": "nat",
|
41 | 157 | "mtu": null,
|
42 | 158 | "name": "devsecops2",
|
|
51 | 167 | {
|
52 | 168 | "mode": "managed",
|
53 | 169 | "type": "libvirt_pool",
|
54 |
| - "name": "sysimg", |
| 170 | + "name": "vmdisks", |
55 | 171 | "provider": "provider[\"registry.terraform.io/dmacvicar/libvirt\"]",
|
56 | 172 | "instances": [
|
57 | 173 | {
|
58 | 174 | "schema_version": 0,
|
59 | 175 | "attributes": {
|
60 |
| - "allocation": 147680301056, |
61 |
| - "available": 102165659648, |
| 176 | + "allocation": 149280890880, |
| 177 | + "available": 100565069824, |
62 | 178 | "capacity": 249845960704,
|
63 |
| - "id": "f79aa16e-dd0f-466c-98f4-b1baded98281", |
64 |
| - "name": "sysimg", |
| 179 | + "id": "7e9a7e33-7005-4a2f-8c9d-bc11d80f35e1", |
| 180 | + "name": "vmdisks", |
65 | 181 | "path": null,
|
66 | 182 | "source": [],
|
67 | 183 | "target": [
|
68 | 184 | {
|
69 |
| - "path": "/var/lib/libvirt/images/more" |
| 185 | + "path": "/vmdisks" |
70 | 186 | }
|
71 | 187 | ],
|
72 | 188 | "type": "dir",
|
|
90 | 206 | "base_volume_name": null,
|
91 | 207 | "base_volume_pool": null,
|
92 | 208 | "format": "iso",
|
93 |
| - "id": "/var/lib/libvirt/images/more/archlinux-2024.08.01-x86_64.iso", |
| 209 | + "id": "/vmdisks/archlinux-2024.08.01-x86_64.iso", |
94 | 210 | "name": "archlinux-2024.08.01-x86_64.iso",
|
95 |
| - "pool": "sysimg", |
| 211 | + "pool": "vmdisks", |
96 | 212 | "size": 1182826496,
|
97 | 213 | "source": "/var/lib/libvirt/images/archlinux-2024.08.01-x86_64.iso",
|
98 | 214 | "xml": []
|
99 | 215 | },
|
100 | 216 | "sensitive_attributes": [],
|
101 | 217 | "private": "bnVsbA==",
|
102 | 218 | "dependencies": [
|
103 |
| - "libvirt_pool.sysimg" |
| 219 | + "libvirt_pool.vmdisks" |
104 | 220 | ]
|
105 | 221 | }
|
106 | 222 | ]
|
|
118 | 234 | "base_volume_name": null,
|
119 | 235 | "base_volume_pool": null,
|
120 | 236 | "format": "qcow2",
|
121 |
| - "id": "/var/lib/libvirt/images/more/node1.qcow2", |
122 |
| - "name": "node1.qcow2", |
123 |
| - "pool": "sysimg", |
| 237 | + "id": "/vmdisks/node0.qcow2", |
| 238 | + "name": "node0.qcow2", |
| 239 | + "pool": "vmdisks", |
124 | 240 | "size": 32212254720,
|
125 | 241 | "source": null,
|
126 | 242 | "xml": []
|
127 | 243 | },
|
128 | 244 | "sensitive_attributes": [],
|
129 | 245 | "private": "bnVsbA==",
|
130 | 246 | "dependencies": [
|
131 |
| - "libvirt_pool.sysimg" |
| 247 | + "libvirt_pool.vmdisks" |
132 | 248 | ]
|
133 | 249 | }
|
134 | 250 | ]
|
|
0 commit comments