-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
Unable to get checksum for different execution environments of third party provider #27530
Comments
Hi @kenchan0130 ,
Can you share what's in your |
I think I have some extended repro steps that will help here as this is also effecting me. I did all of the following with terraform v0.14.4. It seems that if a provider already exists in my local cache ( This assumes that you have emptied your plugin cache of providers and are in a directory with just
This is the "good state" which @mildwonkey was unable to repro from. Lets delete the lock and see what happens
Compared to the original lock, we're missing a bunch of hashes, and in the In this state, we should be able to reliably reproduce.
As a potential workaround, it is possible to recover from this state by running
I guess another workaround would be disabling your plugin cache, which I assume the issue creator has enabled. |
I see now that this has been explained in good detail over here #27264 (comment) already. |
I did see that if I eliminated the cache setting, hash was generated for multiple environments. I close this issue as it will probably end up in #27388. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Terraform Configuration Files
Debug Output
https://gist.github.com/kenchan0130/60f7f414e87866dd5c96a01d2223558c
Expected Behavior
I expect that this command will not cause any errors and that the lockfile will be updated.
Actual Behavior
It looks like the linux checksum cannot be verified and is causing an error.
Steps to Reproduce
You can reproduce this phenomenon by simply running the following command in same directory where the above file exists.
References
DataDog/terraform-provider-datadog#840
The text was updated successfully, but these errors were encountered: