hcl icon indicating copy to clipboard operation
hcl copied to clipboard

HCL is the HashiCorp configuration language.

Results 193 hcl issues
Sort by recently updated
recently updated
newest added

Bumping GitHub Actions version to latest TSCCR release. * changes in `.github/workflows/checks.yml` - bump `actions/checkout` from `v4.1.6` to `v4.1.7` ([release notes](https://github.com/actions/checkout/releases/tag/v4.1.7)) - bump `actions/setup-go` from `v5.0.1` to `v5.0.2` ([release notes](https://github.com/actions/setup-go/releases/tag/v5.0.2))...

automated
SEC-090
dependencies

Bumping GitHub Actions version to latest TSCCR release. * changes in `.github/workflows/checks.yml` - bump `actions/checkout` from `v4.1.6` to `v4.1.7` ([release notes](https://github.com/actions/checkout/releases/tag/v4.1.7)) - bump `actions/setup-go` from `v5.0.1` to `v5.0.2` ([release notes](https://github.com/actions/setup-go/releases/tag/v5.0.2))...

automated
SEC-090
dependencies

I am trying to create this structure: ``` resource "aws_network_acl" "main-private" { vpc_id = aws_vpc.main.id subnet_ids = [aws_subnet.a.id, aws_subnet.b.id, aws_subnet.c.id, aws_subnet.d.id, aws_subnet.e.id, aws_subnet.f.id] tags { Name = "main-private" } }...

I'm receiving a strange error message while trying to parse the following HCL structure: ``` user_namespaces_object = { ns1 = { accountid = 46464 assigned_psp = "default" git_token_secret_name = ""...

All the other github actions have an equivalent make target. This change makes that consistent for test as well.

This is tested in Vault's vault.TestPolicy_Parse: path "test/types" { capabilities = ["create", "sudo"] allowed_parameters = { "map" = [{"good" = "one"}] "int" = [1, 2] } denied_parameters = { "string"...

In `TestPolicy_Parse` from Vault, we test the following `denied_parameters` value: ```hcl path "test/types" { capabilities = ["create", "sudo"] allowed_parameters = { "map" = [{"good" = "one"}] "int" = [1, 2]...

Fixes https://github.com/hashicorp/hcl/issues/737 Follow up of https://github.com/hashicorp/hcl/pull/738 When the `DiagnosticTextWriter` writes out a diagnostic, if the diagnostic has an Expression and EvalContext, it will also write out the evaluation context in...

bug

See also https://github.com/terraform-linters/tflint/issues/2243 The `DiagnosticTextWriter` will panic when it writes a diagnostic whose expression has a marked value. The reproducible code is below: ```go package main import ( "os" "github.com/hashicorp/hcl/v2"...

bug

This is a fix for https://github.com/hashicorp/terraform/issues/36652. When a string interpolation contains only one expression sequence, HCL optimizes by wrapping and directly delegating evaluation to that expression. This optimization bypasses the...