If that gives you "was not built correctly", get the Git commit hash from your local provider repository:
Installed via init
Checklist
[ No ] 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 ] 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.
[ X ] If it is a very special case, consider using the XSLT support in the provider to tweak the definition instead of opening an issue
[ X ] Maintainers do not have expertise in every libvirt setting, so please, describe the feature and how it is used. Link to the appropriate documentation
[ Unsure ] 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
The plugin doesn't seem to respond to uri parameters "known_hosts_verify or no-verify" this causes the connection to fail
System Information
Linux distribution
Centos8
Terraform version
Terraform v1.0.4 on linux_amd64
Provider and libvirt versions
0.6.10
If that gives you "was not built correctly", get the Git commit hash from your local provider repository:
Installed via init
Checklist
[ No ] 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?
[ Unsure ] 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
The plugin doesn't seem to respond to uri parameters "known_hosts_verify or no-verify" this causes the connection to fail
Setup
Configure the Libvirt provider
terraform { required_providers { libvirt = { source = "dmacvicar/libvirt" version = "0.6.10" } ansible = { source = "nbering/ansible" version = "1.0.4" } } }
provider "libvirt" { uri = "qemu+ssh://ansible@lshyp01.lab/system?known_hosts_verify=ignore&keyfile=/home/ansible/.ssh/id_rsa" }
Steps to Reproduce Issue
run main with a valid host. Also configure an ansible user with key based auth for ssh
Additional information: