module.vvr1_dc0.libvirt_cloudinit_disk.seed: Refreshing state... [id=4666ca51f035e4d8] module.voffice1.libvirt_cloudinit_disk.seed: Refreshing state... [id=775234004c2669d9] module.office1_network.libvirt_network.office1_local: Refreshing state... [id=8fdd2a97-417c-44d4-89e4-ae8d65594135] module.mesh_vr1_dc0_vr1_dc1.libvirt_network.link: Refreshing state... [id=9cbc8589-9f40-48e6-872e-ef3abfe29a93] module.vr1_dc0_storage.libvirt_pool.dc: Refreshing state... [id=7ce1101c-a89e-40ca-9263-5f572bee40a9] module.vr1_dc1_storage.libvirt_pool.dc: Refreshing state... [id=4a1df114-ee04-4c80-9233-cc0c140c8556] module.office1_storage.libvirt_pool.dc: Refreshing state... [id=5f94194c-69c1-4b04-a85f-c18d87303a03] module.mesh_vr1_dc1_office1.libvirt_network.link: Refreshing state... [id=38a20d2d-cd91-4604-a5f4-8e2a6609633c] module.mesh_vr1_dc0_office1.libvirt_network.link: Refreshing state... [id=8318548f-c3d6-4e06-bef4-fe3f11d68125] module.vr1_dc0_uplink.libvirt_network.site_wan: Refreshing state... [id=f3500153-e4de-45f1-8854-9c92974a6094] module.vvr1_dc0.libvirt_volume.seed: Refreshing state... [id=/var/lib/libvirt/vr1/vr1-dc0/vvr1-dc0-cloudinit.iso] module.voffice1.libvirt_volume.seed: Refreshing state... [id=/var/lib/libvirt/vr1/office1/voffice1-cloudinit.iso] module.office1_opnsense.libvirt_volume.disk: Refreshing state... [id=/var/lib/libvirt/vr1/office1/office1-opnsense-disk.qcow2] module.ubuntu_noble_base.libvirt_volume.base: Refreshing state... [id=/var/lib/libvirt/vr1/office1/ubuntu-24.04-base.qcow2] module.voffice1.libvirt_volume.disk: Refreshing state... [id=/var/lib/libvirt/vr1/office1/voffice1-disk.qcow2] module.vvr1_dc0.libvirt_volume.disk: Refreshing state... [id=/var/lib/libvirt/vr1/vr1-dc0/vvr1-dc0-disk.qcow2] module.office1_opnsense.libvirt_domain.vm: Refreshing state... [name=office1-opnsense] module.voffice1.libvirt_domain.vm: Refreshing state... [name=voffice1] module.vvr1_dc0.libvirt_domain.vm: Refreshing state... [name=vvr1-dc0] OpenTofu used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: ~ update in-place (current -> planned) -/+ destroy and then create replacement OpenTofu will perform the following actions: # module.voffice1.libvirt_cloudinit_disk.seed must be replaced -/+ resource "libvirt_cloudinit_disk" "seed" { ~ id = "775234004c2669d9" -> (known after apply) name = "voffice1-cloudinit" ~ network_config = <<-EOT # forces replacement version: 2 ethernets: lan: match: - name: "en*" + name: "enp1s0" dhcp4: true + transit: + match: + name: "enp2s0" + addresses: ["172.31.0.1/30"] EOT ~ path = "/tmp/terraform-provider-libvirt-cloudinit/cloudinit-775234004c2669d9.iso" -> (known after apply) ~ size = 45056 -> (known after apply) # (2 unchanged attributes hidden) } # module.voffice1.libvirt_domain.vm will be updated in-place ~ resource "libvirt_domain" "vm" { ~ devices = { ~ interfaces = [ + { + model = { + type = "virtio" } + source = { + network = { + network = "mesh-vr1-dc0-office1" } } }, # (1 unchanged element hidden) ] # (1 unchanged attribute hidden) } id = 1 name = "voffice1" # (10 unchanged attributes hidden) } Plan: 1 to add, 1 to change, 1 to destroy. ───────────────────────────────────────────────────────────────────────────── Saved the plan to: /home/jessea123/openstack-caracal-dc-dc/opentofu/voffice1-transit.tfplan To perform exactly these actions, run the following command to apply: tofu apply "/home/jessea123/openstack-caracal-dc-dc/opentofu/voffice1-transit.tfplan"