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

Fix resolution message for S3/DynamoDB state checksum mismatch #34387

Merged
merged 3 commits into from
Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ ENHANCEMENTS:
BUG FIXES:

* `remote-exec`: Each remote connection will be closed immediately after use [GH-34137]
* `backend/s3`: Fixed the digest value displayed for DynamoDB/S3 state checksum mismatches [GH-34387]

EXPERIMENTS:

Expand Down
2 changes: 1 addition & 1 deletion internal/backend/remote-state/s3/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ func (err badChecksumError) resolutionMsg() string {
`If this problem persists, and neither S3 nor DynamoDB are experiencing an
outage, you may need to manually verify the remote state and update the Digest
value stored in the DynamoDB table to the following value: %x`,
err.expected,
err.digest,
)
} else {
return `If this problem persists, and neither S3 nor DynamoDB are experiencing an
Expand Down
Loading