terra-farm / terraform-provider-virtualbox

VirtualBox provider for Terraform
https://terra-farm.github.io/provider-virtualbox/
MIT License
324 stars 136 forks source link

Installation Instructions #48

Closed regentoop closed 5 years ago

regentoop commented 5 years ago

Hello I hope this is the right place to put this. I found the installation instructions in the readme incomplete. I think they should be expanded a bit. I am working on a windows 10 device with terraform, vagrant, virtualbox and go installed. After running the go get instruction in the readme(go get github.com/terra-farm/terraform-provider-virtualbox), I had to copy the binary from the $GOHOME/bin folder to the following location "C:\Users_$(whoami)\AppData\Roaming\terraform.d\plugins\windowsamd64" (please note to replace the $(whoami) variable with the appropriate username)_ before terraform could recognize the provider.

VoyTechnology commented 5 years ago

As a external contributor myself, I would say create the PR to add the documentation :)

ringods commented 5 years ago

@regentoop I would like to bring the providers under the terra-farm umbrella ASAP to the upcoming Terraform 0.12. This version will bring automatic download of providers shortly after that. See this:

https://github.com/hashicorp/terraform/issues/15252#issuecomment-444128463

darkdrgn2k commented 5 years ago

even with that i keep getting

Error: Error asking for user input: 1 error(s) occurred:

* provider.virtualbox: plugin exited before we could connect

any idea what im doing wrong?

is the file name terraform-provider-virtualbox.exe or terraform-provider-virtualbox_windows_amd64.exe

darkdrgn2k commented 5 years ago

never mind duplicate issue - #31

VoyTechnology commented 5 years ago

I am not sure was the issue created before or after the change in the README, but it is included in step 4:

  1. mv terraform-provider-virtualbox examples/

Closing the issue.

Ps. It could be easily checked when the change was made but effort :)

ringods commented 5 years ago

General installation instructions for all the providers of the terra-farm community can be found here:

https://terra-farm.github.io/main/installation.html

It is assumed that, as a user, you download the provider from the Github releases page. Building from source is more when you want to contribute to the evolution of this provider.