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 Upgrade to hcl v2.7.2 into v0.14 #27056

Merged
merged 1 commit into from
Nov 30, 2020

Conversation

teamterraform
Copy link
Contributor

Backport

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

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


Fixes #27041, fixes #26746. Targeting backport to 0.14.0 because #27041 is a crash with sensitive values.

Upstream changelog:

Bugs Fixed

  • gohcl: Fix panic when decoding into type containing value slices. (#335)
  • hclsyntax: The unusual expression null[*] was previously always returning an unknown value, even though the rules for [*] normally call for it to return an empty tuple when applied to a null. As well as being a surprising result, it was particularly problematic because it violated the rule that a calling application may assume that an expression result will always be known unless the application itself introduces unknown values via the evaluation context. null[*] will now produce an empty tuple. (#416)
  • hclsyntax: Fix panic when traversing a list, tuple, or map with cty "marks" (#424)

@teamterraform teamterraform force-pushed the backport/alisdair/hcl-v2.7.2/blindly-set-sunbeam branch from 061bf67 to b5cdf5a Compare November 30, 2020 17:11
@codecov
Copy link

codecov bot commented Nov 30, 2020

Codecov Report

Merging #27056 (b5cdf5a) into v0.14 (2b485cd) will increase coverage by 0.46%.
The diff coverage is 67.87%.

Impacted Files Coverage Δ
backend/remote-state/gcs/backend.go 0.00% <0.00%> (ø)
command/apply.go 42.38% <0.00%> (-0.21%) ⬇️
command/console.go 37.25% <0.00%> (ø)
command/fmt.go 76.38% <0.00%> (ø)
command/get.go 40.00% <0.00%> (-3.25%) ⬇️
command/graph.go 43.75% <0.00%> (ø)
command/import.go 53.53% <0.00%> (ø)
command/init.go 62.72% <0.00%> (ø)
command/output.go 71.85% <0.00%> (ø)
command/plan.go 41.95% <0.00%> (ø)
... and 60 more

@alisdair alisdair requested a review from a team November 30, 2020 17:17
@alisdair alisdair merged commit b397344 into v0.14 Nov 30, 2020
@ghost
Copy link

ghost commented Dec 31, 2020

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.

@ghost ghost locked as resolved and limited conversation to collaborators Dec 31, 2020
@pselle pselle deleted the backport/alisdair/hcl-v2.7.2/blindly-set-sunbeam branch March 4, 2021 20:23
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.

3 participants