{ "version": 4, "terraform_version": "1.3.2", "serial": 13, "lineage": "fb3ee49a-fca7-23c3-e26f-6eb1a2420ba2", "outputs": { "ip": { "value": "10.17.3.2", "type": "string" } }, "resources": [ { "mode": "data", "type": "template_file", "name": "network_config", "provider": "provider[\"registry.terraform.io/hashicorp/template\"]", "instances": [ { "schema_version": 0, "attributes": { "filename": null, "id": "b36a1372ce4ea68b514354202c26c0365df9a17f25cd5acdeeaea525cd913edc", "rendered": "version: 2\nethernets:\n ens3:\n dhcp4: true\n", "template": "version: 2\nethernets:\n ens3:\n dhcp4: true\n", "vars": null }, "sensitive_attributes": [] } ] }, { "mode": "data", "type": "template_file", "name": "user_data", "provider": "provider[\"registry.terraform.io/hashicorp/template\"]", "instances": [ { "schema_version": 0, "attributes": { "filename": null, "id": "913c54c5c37d22ff3d13f002db797bf6bffe68781beb886cc662940bf3569744", "rendered": "#cloud-config\n# vim: syntax=yaml\n\nssh_pwauth: True\nchpasswd:\n list: |\n root:terraform-libvirt-linux\n expire: False\n", "template": "#cloud-config\n# vim: syntax=yaml\n\nssh_pwauth: True\nchpasswd:\n list: |\n root:terraform-libvirt-linux\n expire: False\n", "vars": null }, "sensitive_attributes": [] } ] }, { "mode": "managed", "type": "libvirt_cloudinit_disk", "name": "commoninit", "provider": "provider[\"registry.terraform.io/dmacvicar/libvirt\"]", "instances": [ { "schema_version": 0, "attributes": { "id": "/var/lib/libvirt/images/terraform-provider-libvirt-pool-debian/commoninit.iso;8c4b7d6f-17f9-4069-a690-30cde11ee528", "meta_data": "", "name": "commoninit.iso", "network_config": "version: 2\nethernets:\n ens3:\n dhcp4: true\n", "pool": "debian-getting-started", "user_data": "#cloud-config\n# vim: syntax=yaml\n\nssh_pwauth: True\nchpasswd:\n list: |\n root:terraform-libvirt-linux\n expire: False\n" }, "sensitive_attributes": [], "private": "bnVsbA==", "dependencies": [ "data.template_file.network_config", "data.template_file.user_data", "libvirt_pool.debian" ] } ] }, { "mode": "managed", "type": "libvirt_domain", "name": "libvirt_getting_started", "provider": "provider[\"registry.terraform.io/dmacvicar/libvirt\"]", "instances": [ { "status": "tainted", "schema_version": 0, "attributes": { "arch": null, "autostart": null, "boot_device": [ { "dev": [ "hd", "network" ] } ], "cloudinit": "/var/lib/libvirt/images/terraform-provider-libvirt-pool-debian/commoninit.iso;8c4b7d6f-17f9-4069-a690-30cde11ee528", "cmdline": null, "console": [ { "source_host": "127.0.0.1", "source_path": "", "source_service": "0", "target_port": "0", "target_type": "serial", "type": "pty" }, { "source_host": "127.0.0.1", "source_path": "", "source_service": "0", "target_port": "1", "target_type": "virtio", "type": "pty" } ], "coreos_ignition": null, "cpu": null, "description": null, "disk": [ { "block_device": "", "file": "", "scsi": false, "url": "", "volume_id": "/var/lib/libvirt/images/terraform-provider-libvirt-pool-debian/debian-qcow2", "wwn": "" } ], "emulator": null, "filesystem": [], "firmware": null, "fw_cfg_name": "opt/com.coreos/config", "graphics": [ { "autoport": true, "listen_address": "127.0.0.1", "listen_type": "address", "type": "vnc", "websocket": 0 } ], "id": "80ffcf42-464b-4d76-8cb7-972fb2ca6ece", "initrd": null, "kernel": null, "machine": null, "memory": 512, "metadata": null, "name": "debian-terraform", "network_interface": [ { "addresses": [ "10.17.3.2" ], "bridge": "", "hostname": "", "mac": "", "macvtap": "", "network_id": "f6484c68-9238-4a68-9a57-1096c8dc9eb0", "network_name": "", "passthrough": "", "vepa": "", "wait_for_lease": true }, { "addresses": [ "10.17.3.2" ], "bridge": "", "hostname": "", "mac": "", "macvtap": "", "network_id": "f6484c68-9238-4a68-9a57-1096c8dc9eb0", "network_name": "", "passthrough": "", "vepa": "", "wait_for_lease": true } ], "nvram": [], "qemu_agent": false, "running": true, "timeouts": null, "tpm": [], "vcpu": 1, "video": [], "xml": [] }, "sensitive_attributes": [], "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjozMDAwMDAwMDAwMDB9fQ==", "dependencies": [ "data.template_file.network_config", "data.template_file.user_data", "libvirt_cloudinit_disk.commoninit", "libvirt_network.libvirt_getting_started", "libvirt_pool.debian", "libvirt_volume.debian-qcow2" ] } ] }, { "mode": "managed", "type": "libvirt_network", "name": "libvirt_getting_started", "provider": "provider[\"registry.terraform.io/dmacvicar/libvirt\"]", "instances": [ { "schema_version": 0, "attributes": { "addresses": [ "10.17.3.0/24" ], "autostart": false, "bridge": "virbr2", "dhcp": [ { "enabled": false } ], "dns": [ { "enabled": true, "forwarders": [], "hosts": [], "local_only": false, "srvs": [] } ], "dnsmasq_options": [], "domain": "libvirt_getting_started.test", "id": "f6484c68-9238-4a68-9a57-1096c8dc9eb0", "mode": "nat", "mtu": null, "name": "libvirt_getting_started", "routes": [], "xml": [] }, "sensitive_attributes": [], "private": "bnVsbA==" } ] }, { "mode": "managed", "type": "libvirt_pool", "name": "debian", "provider": "provider[\"registry.terraform.io/dmacvicar/libvirt\"]", "instances": [ { "schema_version": 0, "attributes": { "allocation": 466995195904, "available": 25046917120, "capacity": 492042113024, "id": "77919777-5321-432d-bc8a-772a393679dd", "name": "debian-getting-started", "path": "/var/lib/libvirt/images/terraform-provider-libvirt-pool-debian", "type": "dir", "xml": [] }, "sensitive_attributes": [], "private": "bnVsbA==" } ] }, { "mode": "managed", "type": "libvirt_volume", "name": "debian-qcow2", "provider": "provider[\"registry.terraform.io/dmacvicar/libvirt\"]", "instances": [ { "schema_version": 0, "attributes": { "base_volume_id": null, "base_volume_name": null, "base_volume_pool": null, "format": "qcow2", "id": "/var/lib/libvirt/images/terraform-provider-libvirt-pool-debian/debian-qcow2", "name": "debian-qcow2", "pool": "debian-getting-started", "size": 2147483648, "source": "https://cloud.debian.org/images/cloud/buster/latest/debian-10-genericcloud-amd64.qcow2", "xml": [] }, "sensitive_attributes": [], "private": "bnVsbA==", "dependencies": [ "libvirt_pool.debian" ] } ] } ], "check_results": [] }