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
unexpected Content-Type when running installer.Install #59
Comments
Hi @do87 I noticed you filed the issue originally under If so, there's a PR currently pending review hashicorp/terraform-plugin-sdk#960 - once that is merged and released, providers should be able to continue running acceptance tests (which install Terraform using |
@radeksimko sorry, i didn't notice it belonged to hc-install, which is the package i am using to run the install. i'm following the example given in terraform-exec almost exactly, and the reason for my mistake is because i mainly use the tfexec functionality. |
@do87 Were you able to upgrade to the latest hc-install and resolve the error?
|
after updating to the latest version the install works again! thanks a lot 👍 |
Just to point out: requiring an upgrade will break the rebuilding of older versions of any provider. Would there be a backward compatible way of doing this change, so that older versions of providers can still be built? 🙇 |
@yannh That sounds like a question more for https://github.com/hashicorp/terraform-plugin-sdk This is repository for I imagine one option would be getting the API to return the old header and the other would be backporting this patch somehow. I believe the older version of Either way I would suggest opening an issue in the SDK repository and describe what versions of the SDK you were hoping to continue using. I can't promise anything - especially because I don't maintain the SDK - a different team does - but it is worth asking! 😄 |
i keep getting:
unexpected Content-Type: "application/vnd+hashicorp.releases-api.v0+json"
as far as i can tell this issue started about 14-15 hrs ago, everything was working fine before.
when running:
tried with TFVersion = 1.1.9 and 1.1.7
i also tried with:
terrafrom-exec v0.16.0 (also upgraded to v.0.16.1 and still the same error)
go v1.18
The text was updated successfully, but these errors were encountered: