From 04ed71403c4b854f9463a41fbd7b1f273c584690 Mon Sep 17 00:00:00 2001 From: Silvio Moioli Date: Mon, 27 Jun 2016 14:01:30 +0200 Subject: Build against released terraform 0.6.16 instead of master --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 91fd3c16..936ce62b 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,13 @@ $ terraform destroy 2. [Set up Gopath](https://golang.org/doc/code.html) 3. `git clone` this repository into `$GOPATH/src/github.com/dmacvicar/terraform-provider-libvirt` 4. Run `go get` to get dependencies -5. Run `go install` to build the binary. You will now find the +5. Switch the terraform project back to the stable version, otherwise you will get a `Incompatible API version with plugin. Plugin version: 1, Ours: 2` error at runtime: +``` +cd $GOPATH/src/github.com/hashicorp/terraform +git checkout v0.6.16 +cd $GOPATH/src/github.com/dmacvicar/terraform-provider-libvirt +``` +6. Run `go install` to build the binary. You will now find the binary at `$GOPATH/bin/terraform-provider-libvirt`. ## Running -- cgit v1.2.3