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 update hcl v2.10.1 into v1.0 #29213

Merged
merged 2 commits into from
Jul 21, 2021

Conversation

teamterraform
Copy link
Contributor

Backport

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

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


Update HCL to v2.10.1

v2.10.1 (July 21, 2021)

  • dynblock: Decode unknown dynamic blocks in order to obtain any diagnostics even though the decoded value is not used (#476)
  • hclsyntax: Calling functions is now more robust in the face of an incorrectly-implemented function which returns a function.ArgError whose argument index is out of range for the length of the arguments. Previously this would often lead to a panic, but now it'll return a less-precice error message instead. Functions that return out-of-bounds argument indices still ought to be fixed so that the resulting error diagnostics can be as precise as possible. (#472)
  • hclsyntax: Ensure marks on unknown values are maintained when processing string templates. (#478)
  • hcl: Improved error messages for various common error situtions in hcl.Index and hcl.GetAttr. These are part of the implementation of indexing and attribute lookup in the native syntax expression language too, so the new error messages will apply to problems using those operators. (#474)

Fixes #29093
Fixes #29173

@teamterraform teamterraform force-pushed the backport/jbardin/update-hcl/strictly-settling-mudfish branch from 387a7f5 to 3edc5c0 Compare July 21, 2021 17:51
@jbardin jbardin merged commit 67c5cf3 into v1.0 Jul 21, 2021
@jbardin jbardin deleted the backport/jbardin/update-hcl/strictly-settling-mudfish branch July 21, 2021 18:11
@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 21, 2021
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.

2 participants