Open rgl opened 1 year ago
I am able to resolve this by ignoring the nvram option completely (this is fully managed by libvirt anyway):
lifecycle {
ignore_changes = [ nvram ]
}
version: Terraform v1.6.6 on linux_amd64 provider registry.terraform.io/dmacvicar/libvirt v0.7.6
System Information
Linux distribution
Ubuntu 22.04
Terraform version
Provider and libvirt versions
Description of Issue/Question
Setup
NB The full tf file is at https://github.com/rgl/terraform-libvirt-windows-example/blob/wip-uefi/main.tf#L195-L253.
Steps to Reproduce Issue
terraform apply
a first time to create everything.terraform apply
a second time, and notice, that for some reason, its not ignoring the lifecycle changes, and wants to force a replacement of the libvirt_domain due to nvram.file changes: