add option to customize flags to terraform init for terraform validate
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 38/100
Research direction
Start by locating the pre-commit hook for terraform validate and the terraform init invocation it uses. Reproduce the automated validation scenario with a Terraform lock file, then define how custom init flags should be supplied. Done means users can customize those flags and terraform validate no longer causes unintended lockfile changes.
Written by the indexing model from the issue text.
Description
Describe the solution you'd like
The terraform lock file is causing issues with terraform validate being run in an automated job. Terraform init is updating the hashes in the lockfile and thus failing the job because it detects changes were made to files.
For now this can be fixed by not checking in the lock file but this is outside of what hashicorp is recommending.
- Dominant language
- Shell
- Stars
- 546
- Forks
- 167
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from gruntwork-io/pre-commit
-
Documentation for shellcheck should include that it is configurable with a .shellcheckrcMay be free again A pull request for this issue was closed without being merged. Openenhancement
Difficulty 1/5 Under an hour Newbie friendliness 68/100
gruntwork-io/pre-commit#79 ·
-
Support args for terraform-fmt, remove hardcoded args.May be free again @ZachGoldberg claimed this 386 days ago, and no pull request is open. Openenhancement
gruntwork-io/pre-commit#138 · 3 reactions · 1 assignee ·
-
Sentinel Fmt Hook Does Not WorkMay be free again A pull request for this issue was closed without being merged. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 38/100
gruntwork-io/pre-commit#121 ·
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 35/100
gruntwork-io/pre-commit#111 · 1 reaction ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 45/100
gruntwork-io/pre-commit#110 ·
All issues in gruntwork-io/pre-commit
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Piwigo/piwigo-docker#18 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
docs: tutorial 7 still references removed A2AStarletteApplicationPossibly taken @FOWEPJF255 claimed this today. Open
Difficulty 1/5 Under an hour Newbie friendliness 92/100
a2aproject/A2A#2321 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
OpenSlides/OpenSlides#7180 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day