cyberark / terraform-provider-conjur

Terraform provider for Conjur
https://docs.conjur.org/Latest/en/Content/terraform_Provider.htm
Apache License 2.0
21 stars 15 forks source link

Terraform v0.12.0 - Incompatible API version with plugin #26

Closed quincycheng closed 4 years ago

quincycheng commented 5 years ago

The provider doesn't work with Terraform v0.12.0 Error message after "terraform apply":

Error: Failed to instantiate provider "conjur" to obtain schema: Incompatible API version with plugin. Plugin version: 4, Client versions: [5]

brikelly commented 5 years ago

The fix is to update our dependencies to the v12 version of the Terraform SDK: https://www.terraform.io/docs/extend/terraform-0.12-compatibility.html#upgrading-to-the-latest-terraform-sdk

jralmaraz commented 5 years ago

Hi,

Unfortunately, facing the same here, will watch this issue for an update.

oauth-app joalmaraz$ terraform-0.12.2 plan

Error: Failed to instantiate provider "conjur" to obtain schema: Incompatible API version with plugin. Plugin version: 4, Client versions: [5]

AndrewCopeland commented 4 years ago

Hasn't this been resolved in: https://github.com/cyberark/terraform-provider-conjur/commit/d72a2cd2060f8ab24cf21b2084b04f17c634455d

However the latest compiled binary is not available in Releases and needs to be added.

quincycheng commented 4 years ago

Is this repo being maintained?
Can anyone release an updated version with the patch? The latest version was released in 2018 Aug and it is in 2020 now. Thanks in advance.

sgnn7 commented 4 years ago

Newly-released v0.3.0 should fix this. You can find it at https://github.com/cyberark/terraform-provider-conjur/releases/tag/v0.3.0. Homebrew recipe has been updated too.

Please reopen this issue if there are any further problems with this.