Skip to content

update hcl v2.10.1#29208

Merged
jbardin merged 2 commits intomainfrom
jbardin/update-hcl
Jul 21, 2021
Merged

update hcl v2.10.1#29208
jbardin merged 2 commits intomainfrom
jbardin/update-hcl

Conversation

@jbardin
Copy link
Copy Markdown
Member

@jbardin jbardin commented Jul 21, 2021

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

@jbardin jbardin added the 1.0-backport If you add this label to a PR before merging, backport-assistant will open a new PR once merged label Jul 21, 2021
@jbardin jbardin requested a review from a team July 21, 2021 13:01
@jbardin jbardin merged commit b125026 into main Jul 21, 2021
@jbardin jbardin deleted the jbardin/update-hcl branch July 21, 2021 17:51
@github-actions
Copy link
Copy Markdown
Contributor

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

1.0-backport If you add this label to a PR before merging, backport-assistant will open a new PR once merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ignore_changes with an impure function with sensitive arguments cause change in plan Regression on terraform validate since version 0.15.2

2 participants