[ ] Is your issue/contribution related with enabling some setting/option exposed by libvirt that the plugin does not yet support, or requires changing/extending the provider terraform schema?
[ ] Make sure you explain why this option is important to you, why it should be important to everyone. Describe your use-case with detail and provide examples where possible.
[ ] If it is a very special case, consider using the XSLT support in the provider to tweak the definition instead of opening an issue
[ ] Maintainers do not have expertise in every libvirt setting, so please, describe the feature and how it is used. Link to the appropriate documentation
[X] Is it a bug or something that does not work as expected? Please make sure you fill the version information below:
Description of Issue/Question
When performing CRUD on a ignition file the libvirt domain needs to be recycled. Currently all we do is update the file in place.
System Information
Arch Linux toolbox
Linux distribution
Terraform version
Provider and libvirt versions
Checklist
[ ] Is your issue/contribution related with enabling some setting/option exposed by libvirt that the plugin does not yet support, or requires changing/extending the provider terraform schema?
[X] Is it a bug or something that does not work as expected? Please make sure you fill the version information below:
Description of Issue/Question
When performing CRUD on a ignition file the libvirt domain needs to be recycled. Currently all we do is update the file in place.
Setup
https://github.com/anthr76/kubic-terraform-kvm/blob/02c22a816cca1e9815ef97b4842d797d4b7f3a65/masters.tf#L66-L70
Steps to Reproduce Issue
https://github.com/anthr76/kubic-terraform-kvm/blob/02c22a816cca1e9815ef97b4842d797d4b7f3a65/masters.tf#L66-L70
Changes here result in the file being updated but the domain not changing
I have tested this against kubic, and Fedora CoreOS
Per https://coreos.github.io/ignition/rationale/#ignition-runs-only-on-the-first-boot we should be recycling the resources of the updated ignition