Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to instantiate provider "registry.terraform.io/yandex-cloud/yandex" to Error obtain schema: Incompatible API version with plugin. Plugin version: 6, Client versions: [5] #442

Open
kkkk4000 opened this issue Jun 7, 2024 · 1 comment

Comments

@kkkk4000
Copy link

kkkk4000 commented Jun 7, 2024

terraform {
  required_providers {
    yandex = {
      source  = "yandex-cloud/yandex"
      version = "~> 0.100.0"
    }
  }
}

Summary:
I'm encountering an issue while trying to use the Yandex Cloud provider (v0.100.0) with Terraform (v0.14.8). The error message suggests an incompatibility between the plugin and client API versions.

Error Message:

Failed to instantiate provider "registry.terraform.io/yandex-cloud/yandex" to obtain schema: Incompatible API version with plugin. Plugin version: 6, Client versions: [5]

Details:

Terraform Version: 0.14.8
Yandex Cloud Provider Version: 0.100.0
Error Occurs During: terraform plan command
Error Details:
Failed to instantiate provider "registry.terraform.io/yandex-cloud/yandex" to obtain schema: Incompatible API version with plugin. Plugin version: 6, Client versions: [5]

Questions:

Is this issue related to the version incompatibility between Terraform (v0.14.8) and the Yandex Cloud provider (v0.100.0)?
If yes, which version of Terraform should I upgrade to in order to resolve this issue?
Are there any other known workarounds or configurations that I can apply to fix this without upgrading Terraform?
Any assistance or guidance would be greatly appreciated. Thank you!

@kkkk4000 kkkk4000 changed the title Failed to instantiate provider "registry.terraform.io/yandex-cloud/yandex" to June 6th 2024 19:10:43Error obtain schema: Incompatible API version with plugin. Plugin version: 6, Client versions: [5] Failed to instantiate provider "registry.terraform.io/yandex-cloud/yandex" to Error obtain schema: Incompatible API version with plugin. Plugin version: 6, Client versions: [5] Jun 7, 2024
@opportunity356
Copy link
Contributor

Hi!

Is this issue related to the version incompatibility between Terraform (v0.14.8) and the Yandex Cloud provider (v0.100.0)?

Yes, you should use at least terraform 1.0

https://developer.hashicorp.com/terraform/plugin/terraform-plugin-protocol#protocol-version-6\

Are there any other known workarounds or configurations that I can apply to fix this without upgrading Terraform?

Unfortunately, there are no workarounds. Only upgrade

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants