Terraform: 0.7 make dev and make bin failed

Created on 23 May 2016  ยท  4Comments  ยท  Source: hashicorp/terraform

The build procedure has bug after download the new master (verion 0.7)

error message
Stderr: # github.com/hashicorp/ticketmaster/terraform ./config.go:249: cannot use "github.com/hashicorp/terraform/plugin".Handshake (type "github.com/hashicorp/terraform/vendor/github.com/hashicorp/go-plugin".HandshakeConfig) as type "github.com/hashicorp/ticketmaster/terraform/vendor/github.com/hashicorp/go-plugin".HandshakeConfig in assignment ./config.go:251: cannot use "github.com/hashicorp/terraform/plugin".PluginMap (type map[string]"github.com/hashicorp/terraform/vendor/github.com/hashicorp/go-plugin".Plugin) as type map[string]"github.com/hashicorp/ticketmaster/terraform/vendor/github.com/hashicorp/go-plugin".Plugin in assignment ./config.go:286: cannot use "github.com/hashicorp/terraform/plugin".Handshake (type "github.com/hashicorp/terraform/vendor/github.com/hashicorp/go-plugin".HandshakeConfig) as type "github.com/hashicorp/ticketmaster/terraform/vendor/github.com/hashicorp/go-plugin".HandshakeConfig in assignment ./config.go:289: cannot use "github.com/hashicorp/terraform/plugin".PluginMap (type map[string]"github.com/hashicorp/terraform/vendor/github.com/hashicorp/go-plugin".Plugin) as type map[string]"github.com/hashicorp/ticketmaster/terraform/vendor/github.com/hashicorp/go-plugin".Plugin in assignment

Most helpful comment

Hey,

This will happen when you symlink the real development path into $GOPATH/src/github.com/hashicorp/terraform and you will have go get -u the deps yourself.

Solution: checkout for real terraform in the right path.

(this is how I ended up here)

All 4 comments

Hey,

This will happen when you symlink the real development path into $GOPATH/src/github.com/hashicorp/terraform and you will have go get -u the deps yourself.

Solution: checkout for real terraform in the right path.

(this is how I ended up here)

Got it. I was using symlink and have the problem. It works fine without symlink

But why is this necessary? It turns out symlinking Tf into $GOPATH/src/github.com/hashicorp/terraform makes a lot of sense in my situation.

I'm going to lock this issue because it has been closed for _30 days_ โณ. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

Was this page helpful?
0 / 5 - 0 ratings