From cde940905726906fc49e2540b4b0661d06423a47 Mon Sep 17 00:00:00 2001 From: Kamil Kozik <115631738+kkozik-amplify@users.noreply.github.com> Date: Thu, 27 Mar 2025 20:16:20 +0100 Subject: [PATCH 1/2] Update issue templates --- .github/ISSUE_TEMPLATE/hcl2-parsing-error.md | 29 ++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/hcl2-parsing-error.md diff --git a/.github/ISSUE_TEMPLATE/hcl2-parsing-error.md b/.github/ISSUE_TEMPLATE/hcl2-parsing-error.md new file mode 100644 index 00000000..1540bb45 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/hcl2-parsing-error.md @@ -0,0 +1,29 @@ +--- +name: HCL2 parsing error +about: Template for reporting a bug related to parsing HCL2 code +title: '' +labels: bug +assignees: kkozik-amplify + +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +**Software:** + - OS: [macOS / Windows / Linux] + - Python version (e.g. 3.9.21) + - python-hcl2 version (e.g. 7.0.0) + +**Snippet of HCL2 code causing the unexpected behaviour:** +```terraform +locals { + foo = "bar" +} +``` +**Expected behavior** +A clear and concise description of what you expected to happen, e.g. python dictionary or JSON you expected to receive as a result of parsing. + +**Exception traceback (if applicable)**: +``` +``` From 0a1bd86461c33718f43db9fb12750edc85cef17f Mon Sep 17 00:00:00 2001 From: Kamil Kozik <115631738+kkozik-amplify@users.noreply.github.com> Date: Thu, 27 Mar 2025 20:20:00 +0100 Subject: [PATCH 2/2] Update hcl2-parsing-error.md --- .github/ISSUE_TEMPLATE/hcl2-parsing-error.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/hcl2-parsing-error.md b/.github/ISSUE_TEMPLATE/hcl2-parsing-error.md index 1540bb45..4837d3ff 100644 --- a/.github/ISSUE_TEMPLATE/hcl2-parsing-error.md +++ b/.github/ISSUE_TEMPLATE/hcl2-parsing-error.md @@ -8,6 +8,7 @@ assignees: kkozik-amplify --- **Describe the bug** + A clear and concise description of what the bug is. **Software:** @@ -22,8 +23,10 @@ locals { } ``` **Expected behavior** + A clear and concise description of what you expected to happen, e.g. python dictionary or JSON you expected to receive as a result of parsing. **Exception traceback (if applicable)**: + ``` ```