cloudamqp / terraform-provider-cloudamqp

Terraform Provider for CloudAMQP
https://registry.terraform.io/providers/cloudamqp/cloudamqp
Mozilla Public License 2.0
35 stars 39 forks source link

Initial setup instructions improvements #25

Closed klloveall closed 4 years ago

klloveall commented 5 years ago

Hi y'all!

Super excited to be able to control this under Terraform, but I ran into a couple issues while trying to set this up that I wanted to make y'all aware of.

  1. This might be an issue with dep instead of y'all, but in order to get it to work (after using their quick-install script thing), I had to add ~/go/bin to my $PATH in order for dep to be found.
  2. In order to make make depupdate work, I had to touch ~/go/src/github.com/cloudamqp/terraform-provider/Gopkg.lock.
  3. In order to make make init work, I had to mkdir ~/go/src/github.com/cloudamqp/terraform-provider/bin/.

Overall, I'm super excited for this, but I wanted to make y'all aware of these issues that a total newcomer (both to this package and go as a whole) ran into.

tbroden84 commented 5 years ago

Glad you are exited and thanks for the input. Will look over the readme and add necessary information.

cruzzan commented 5 years ago

I think this issue can be closed, point 2 and 3 should have been fixed by https://github.com/cloudamqp/terraform-provider-cloudamqp/pull/27

And as mentioned the problem with dep is that the binary is installed in $GOPATH/bin and thus that directory needs to be on the users path. This is also mentioned in the official install instructions: https://golang.org/doc/install#install

@klloveall @tbroden84