dmacvicar / terraform-provider-libvirt

Terraform provider to provision infrastructure with Linux's KVM using libvirt
Apache License 2.0
1.54k stars 457 forks source link

fixes #848 by mentioning the new path location after v0.13 #849

Closed joshuacox closed 3 years ago

joshuacox commented 3 years ago

Adding additional information to the install process for anyone using v0.13 (which I think should be everyone at this point).

Enrico204 commented 3 years ago

Are you sure about the path? My local terraform installation is:

terraform version
Terraform v0.15.3
on linux_amd64
+ provider registry.terraform.io/dmacvicar/libvirt v0.6.2
+ provider registry.terraform.io/hashicorp/template v2.2.0

and the path is actually ~/.terraform.d/plugins/registry.terraform.io/dmacvicar/libvirt/0.6.2/linux_amd64/

Also. maybe registry.terraform.io is wrong, as this provider is not packaged inside the terraform registry (maybe it should)

Enrico204 commented 3 years ago

Addendum: the current way of specifying dependencies is:

terraform {
  required_version = ">= 0.12"
  required_providers {
    libvirt = {
        source = "dmacvicar/libvirt"
        version = "0.6.2"
    }
  }
}

Maybe we need to document this as well

dmacvicar commented 3 years ago

Please see https://github.com/dmacvicar/terraform-provider-libvirt/pull/859#issuecomment-870103094