states/statefile: decode backend hash as uint64#21484
Merged
jbardin merged 1 commit intohashicorp:masterfrom Jun 10, 2019
Merged
states/statefile: decode backend hash as uint64#21484jbardin merged 1 commit intohashicorp:masterfrom
jbardin merged 1 commit intohashicorp:masterfrom
Conversation
Fixes hashicorp#21478 In hashicorp#19688, `terraform.BackendState.Hash` was fixed. We also need to fix `states/statefile.backendStateV2.Hash`
minamijoyo
commented
May 28, 2019
| "lineage": "0f5b2ff9-6ff5-8e9e-1f81-aa3ce9a483eb", | ||
| "backend": { | ||
| "hash": 10669755453527594976 | ||
| }, |
Contributor
Author
There was a problem hiding this comment.
This file was copied from v3-grabbag.in.tfstate and the following lines are added.
[terraform@fix-statev2-hash-decode|✔]$ diff -u states/statefile/testdata/roundtrip/{v3-grabbag.in.tfstate,v3-bigint.in.tfstate}
--- states/statefile/testdata/roundtrip/v3-grabbag.in.tfstate 2018-12-13 11:18:13.000000000 +0900
+++ states/statefile/testdata/roundtrip/v3-bigint.in.tfstate 2019-05-28 23:56:58.000000000 +0900
@@ -3,6 +3,9 @@
"terraform_version": "0.11.1",
"serial": 8,
"lineage": "0f5b2ff9-6ff5-8e9e-1f81-aa3ce9a483eb",
+ "backend": {
+ "hash": 10669755453527594976
+ },
"modules": [
{
"path": [
minamijoyo
commented
May 28, 2019
| @@ -0,0 +1,97 @@ | |||
| { | |||
Contributor
Author
There was a problem hiding this comment.
This file was only copied from v3-grabbag.out.tfstate
jbardin
approved these changes
May 29, 2019
hinling-whistle
pushed a commit
to WhistleLabs/dockerfile-ci
that referenced
this pull request
Jun 24, 2019
This was referenced Jun 24, 2019
akatrevorjay
pushed a commit
to WhistleLabs/dockerfile-ci
that referenced
this pull request
Jun 24, 2019
* [DEVOPS-1997] -- update covalence build to 0.8.3 * [DEVOPS-2353] -- upgrade terraform to 0.12.2 to have this fix: hashicorp/terraform#21484
hinling-whistle
added a commit
to WhistleLabs/dockerfile-ci
that referenced
this pull request
Jun 25, 2019
…ci build config.yml (#41) * [DEVOPS-1997] -- update covalence build to 0.8.3 * [DEVOPS-2353] -- upgrade terraform to 0.12.2 to have this fix: hashicorp/terraform#21484 * [DEVOPS-2353] -- forgot to update the terraform version in the circle ci build config.yml
|
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #21478
In #19688,
terraform.BackendState.Hashwas fixed.We also need to fix
states/statefile.backendStateV2.Hashbefore
after