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

go.mod: Upgrade to HCL v2.20.1 #120

Merged
merged 1 commit into from
May 9, 2024
Merged

go.mod: Upgrade to HCL v2.20.1 #120

merged 1 commit into from
May 9, 2024

Conversation

apparentlymart
Copy link
Contributor

The latest version of the Terraform requires a newer version of HCL than was previously selected here, because it makes use of the new possibility for namespaced functions.

This upgrade makes it now possible for programs that use this library to analyze Terraform modules that contain calls to namespaced functions.

The latest version of the Terraform requires a newer version of HCL than
was previously selected here, because it makes use of the new possibility
for namespaced functions.

This upgrade should make it now possible for programs that use this library
to analyze Terraform modules that contain calls to namespaced functions.
@apparentlymart apparentlymart self-assigned this May 9, 2024
@apparentlymart apparentlymart requested a review from a team as a code owner May 9, 2024 22:42
Copy link
Member

@nfagerlund nfagerlund left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Manually verified, and this checks out.

On main (busted):

└ᐅ ./terraform-config-inspect ~/Desktop/terraform-namespaced-functions/

# Module `/Users/nick/Desktop/terraform-namespaced-functions/`

Provider Requirements:
* **terraform (`terraform.io/builtin/terraform`):** (any version)

## Output Values
* `all_it`

## Problems

## Error: Missing newline after argument

(at `/Users/nick/Desktop/terraform-namespaced-functions/main.tf` line 17)

An argument definition must end with a newline.

On this branch (fixed):

└ᐅ ./terraform-config-inspect ~/Desktop/terraform-namespaced-functions/

# Module `/Users/nick/Desktop/terraform-namespaced-functions/`

Provider Requirements:
* **terraform (`terraform.io/builtin/terraform`):** (any version)

## Output Values
* `all_it`

@apparentlymart apparentlymart merged commit 4708120 into master May 9, 2024
5 checks passed
@apparentlymart apparentlymart deleted the hcl-v2.20.1 branch May 9, 2024 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants