-
Notifications
You must be signed in to change notification settings - Fork 74
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
[Bug]: Invalid Provider Server Combination #763
Comments
We also ran into this just now in one of our CI pipelines. I looked at #749 and that refactoring effort breaks the provider. The provider schema definitions are different: vs. The old provider has |
Thanks for the report, fix is quite easy. Though I am curious why this was not detected in the e2e tests. |
The schemas between the Plugin SDK Provider and the Plugin Framework Provider have different values. This is not allowed, as it causes inconstency, and the terraform-provider stops on startup with an error if this is detected. The "token" is not truly required in the old provider (or the new), because we fallback to the HCLOUD_TOKEN environment variable and have additional validation that verifies it is set. Closes #763 Related to #752
Please upgrade to v1.44.1 |
This refactors the code around #763 and adds a unit test to make sure that the issue does not creep back in. We are still not sure why this was not caught in the regular e2e tests. Co-authored-by: jooola <[email protected]>
What happened?
So I basically try to set up a simple Terraform script. Just a token, just a server, really simple (I hope). After the upgrade to 1.44.0 I get:
What did you expect to happen?
That it gives no error.
Please provide a minimal working example
So my main tf is:
Variables are filled accordingly, I hope all is speaking enough. But I might even have errors here but it does not come to this.
I am doing a fresh init & apply.
The text was updated successfully, but these errors were encountered: