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

Backport of terraform init: add link to documentation when a checksum is missing from the lock file into v1.2 #31480

Conversation

teamterraform
Copy link
Contributor

Backport

This PR is auto-generated from #31408 to be assessed for backporting due to the inclusion of the label 1.2-backport.

WARNING automatic cherry-pick of commits failed. Commits will require human attention.

The below text is copied from the body of the original PR.


terraform init will now tell users to try terraform providers lock whenever it cannot download a provider due to a checksum mismatch.

The error message explaining a provider could not be downloaded due to a checksum mismatch now contains a link to the documentation explaining why this might have happened and how to work around it. We're holding off on suggesting anything too strongly in the actual error message because of the security implications.

We are using a redirect in the terraform-website added here so that if/when the documentation moves we can update the redirect and older versions of terraform will carry on pointing to the right place.

@teamterraform teamterraform force-pushed the backport/liamcervante/init-provider-checksums-failed/frequently-electric-ringtail branch from 15d9276 to 99665e3 Compare July 20, 2022 12:28
@github-actions
Copy link

Reminder for the merging maintainer: if this is a user-visible change, please update the changelog on the appropriate release branch.

@liamcervante liamcervante deleted the backport/liamcervante/init-provider-checksums-failed/frequently-electric-ringtail branch July 20, 2022 12:50
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants