-
Notifications
You must be signed in to change notification settings - Fork 85
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
Plugin loading error on latest resource version #128
Comments
Terraform upgrade docs are here, I'd visit that page first if you hit any upgrade issues in the future.
Unfortunately running Given that, I'm not sure if there's anything the resource can do to help but we can keep this issue open for a bit in case others hit the same issue. |
We are also seeing similar issue.
|
We did go through the upgrade docs. We made the necessary changes to the terraform files with Running a local apply with those same files succeeded (with 0 added, 0 changed, 0 deleted). I expected the init/apply in the resource to behave the same as an init/apply on my own machine. It seems strange that the resource continues to get the same error until the state gets modified elsewhere even with the correct tf files. |
Hi Colin, I will run the local We cant run |
We're seeing the same thing. Output from the terraform-resource is:
The contents of our versions.tf:
Terraform init/validate works locally, and only generates this error though the terraform-resource. |
As a workaround, the docs show a new I'm still not sure about the root cause. The Terraform docs seem to indicate that Terraform should automatically perform this rename is you run
If someone can replicate the error locally using those commands then please open an issue on Terraform to understand why the provider paths weren't automatically migrated. If those commands work locally I'll keep looking to see if the resource is doing something else. |
Seeing something similar on a
Ran these commands from within the container.
The output return's
UPDATE: On more digging this looks to be a separate issue I am seeing with |
If you see an error similar to @mstrisoline's in a |
First off, thanks for the resource - it's been really helpful.
This morning when we tried running our pipeline the terraform put resulted in:
I noticed that a new version of the resource was pushed recently with terraform v0.13.3. We think the error is probably something to do with the new required_providers config.
We've fixed the issue but it's a little bit rough and might be worth documenting somewhere. We needed to:
terraform 0.13upgrade
against each moduleterraform init
andterraform apply
locally which said nothing changed but updated the stateOur pipeline was then able to run successfully with the updated state.
Looking at the tfstate diff it changed:
to
for each provider in addition to bumping the terraform version.
I'm not sure why running the commands locally worked but the resource was unable to reconcile the issue. It would be great if the resource could just handle it but if not hopefully this issue can help others who hit this.
The text was updated successfully, but these errors were encountered: