Open liyihuang opened 4 months ago
@scabala thanks for replying and I was on vacation in last 2 weeks. I'm using the ssh as this code shows. https://github.com/isovalent/terraform-equinix-infra/blob/main/providers.tf but it will validate my local libvirt
There might be some conflict when using code directly and when using it from a module. I cannot find the exact issue - there's one already in issue tracker - but long story short, you need to specify exactly the same uri in module and outside of it.
System Information
Mac or Linux as the client
Linux distribution
Ubuntu 22.04
Terraform version
Description of Issue/Question
Setup
Steps to Reproduce Issue
I wrote a module called
terraform-equinix-infra
(https://github.com/isovalent/terraform-equinix-infra/tree/main). the module is pretty straightforward. It will spin up a baremetal server at https://deploy.equinix.com/, install qemu and a few VM on top of it. However, I found when I run the terraform apply on the laptop that doesn't have the libvirt on it, it will throw out the error sayingMy question is why the provider wants to validate if there is a local unix socket at all? I have to install some packages like to get it working.
I'm trying to understand if I missed anything or I didn't configure it correctly