DimensionDataResearch / terraform-provider-ddcloud

Terraform provider for Dimension Data cloud compute.
MIT License
16 stars 13 forks source link

What to do on "Incompatible API version with plugin" error message? #95

Closed bernard357 closed 6 years ago

bernard357 commented 7 years ago

Hello there. This are the messages returned by terraform:

$ terraform validate
There are warnings and/or errors related to your configuration. Please
fix these before continuing.

Errors:

  * provider.ddcloud: Incompatible API version with plugin. Plugin version: 1, Ours: 4

Can you help please?

tintoy commented 7 years ago

What version of Terraform are you using?

Run terraform version to check.

tintoy commented 7 years ago

Usually this message means the version of the ddcloud provider you are using was built against an older or newer version of Terraform. If you're on v1.3.x of the ddcloud provider, you need Terraform v0.8.1 or newer; if you're on v1.2.x or older, you need Terraform v0.7.x or older.

bernard357 commented 7 years ago
$ terraform --version
Terraform v0.10.7

The version of the dd cloud provider is the most recent release from the GitHub site.

tintoy commented 7 years ago

v1.3.0 supports Terraform v0.9.x - I think v0.10.x is not supported yet. Make sure you're on v1.3.0 of the provider and v0.9.x of Terraform. Our next release (v1.4.x) will support Terraform v0.10.x.

tintoy commented 7 years ago

Sorry about that. Part of the problem is they keep changing the plugin protocol and its not backward-compatible. So each version of our provider can only target a specific version of Terraform (more or less).

tintoy commented 7 years ago

Hey @bernard357 - did that fix it for you?

bernard357 commented 7 years ago

Hello Adam, I am on vacation for a family trip this week, and Will look at it by next week. Thanks for the follow up :-)

-Bernard

On Thu 12 Oct 2017 at 17:12, Adam Friedman notifications@github.com wrote:

Hey @bernard357 https://github.com/bernard357 - did that fix it for you?

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/DimensionDataResearch/dd-cloud-compute-terraform/issues/95#issuecomment-336271510, or mute the thread https://github.com/notifications/unsubscribe-auth/AAOWRkIv9jyLwNkKOVa6E3keEKbLDVWMks5sroDSgaJpZM4PwB1R .

tintoy commented 6 years ago

@bernard357 hi, sorry it's taken me a while to circle back to this (I kinda forgot about it). Are you still having problems?

bernard357 commented 6 years ago

Hello Adam, thanks for asking. I had no time to come back to this, sorry.

Take care

Bernard

On Mon 11 Dec 2017 at 01:17, Adam Friedman notifications@github.com wrote:

@bernard357 https://github.com/bernard357 hi, sorry it's taken me a while to circle back to this (I kinda forgot about it). Are you still having problems?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/DimensionDataResearch/dd-cloud-compute-terraform/issues/95#issuecomment-350594330, or mute the thread https://github.com/notifications/unsubscribe-auth/AAOWRnPSl0JFtFKSe-eVEJdbrnRqW3UTks5s_HSPgaJpZM4PwB1R .

tintoy commented 6 years ago

No problem - I'm going to close this issue for now, but please feel free to reopen it if you find the problem has not been resolved :)