[] 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:
I'm trying to import an existing libvirt network with the command:
terraform import libvirt_network.default <uuid>
On terraform.tfstate state file, I see the resource being imported but it doesn't contain all the parameters. For example with the default network the parameter addresses is set to 0.0.0.0/0 instead of the current subnet:
System Information
Linux distribution
CentOS 7
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
Setup
Steps to Reproduce Issue
I'm trying to import an existing libvirt network with the command:
On
terraform.tfstate
state file, I see the resource being imported but it doesn't contain all the parameters. For example with the default network the parameteraddresses
is set to0.0.0.0/0
instead of the current subnet:XML
terraform.tfstate
Another example with a bridge net
XML
terraform.tfstate