{"action":"opened","issue":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/10351","repository_url":"https://api.github.com/repos/hashicorp/terraform","labels_url":"https://api.github.com/repos/hashicorp/terraform/issues/10351/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/10351/comments","events_url":"https://api.github.com/repos/hashicorp/terraform/issues/10351/events","html_url":"https://github.com/hashicorp/terraform/issues/10351","id":191581486,"number":10351,"title":"provider plugin fails with error \"Incompatible API version with plugin. Plugin version: 2, Ours: 1\"","user":{"login":"scross01","id":4055338,"avatar_url":"https://avatars.githubusercontent.com/u/4055338?v=3","gravatar_id":"","url":"https://api.github.com/users/scross01","html_url":"https://github.com/scross01","followers_url":"https://api.github.com/users/scross01/followers","following_url":"https://api.github.com/users/scross01/following{/other_user}","gists_url":"https://api.github.com/users/scross01/gists{/gist_id}","starred_url":"https://api.github.com/users/scross01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scross01/subscriptions","organizations_url":"https://api.github.com/users/scross01/orgs","repos_url":"https://api.github.com/users/scross01/repos","events_url":"https://api.github.com/users/scross01/events{/privacy}","received_events_url":"https://api.github.com/users/scross01/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-24T19:21:35Z","updated_at":"2016-11-24T19:21:35Z","closed_at":null,"body":"Provider plugins built against the latest terraform source fail with an incompatible API version error.  For example the [terraform-provider-opc](https://github.com/oracle/terraform) provider builds okay, but at runtime:\r\n\r\n```\r\n$ terraform plan\r\nError configuring: 1 error(s) occurred:\r\n\r\n* Incompatible API version with plugin. Plugin version: 2, Ours: 1\r\n```\r\n\r\nThis appears to be a regression introduced in v0.7.13.  Manually forcing the terraform source in the go build path build back to v0.7.12 and rebuilding the provider plugin resolves the problem, e.g.\r\n\r\n```\r\ncd $GOPATH/src/github.com/hashicorp/terraform\r\ngit checkout v0.7.12\r\ncd $GOPATH\r\ngo build -o bin/terraform-provider-opc github.com/oracle/terraform/provider\r\n```\r\n\r\n"}}
{"actor":{"display_login":"scross01"}}