Skip to content
This repository was archived by the owner on Mar 1, 2023. It is now read-only.

Upstream merge - #2

Draft
msummers42 wants to merge 29 commits into
phc-health:masterfrom
gruntwork-io:master
Draft

msummers42 wants to merge 29 commits into
phc-health:masterfrom
gruntwork-io:master

Conversation

@msummers42

Copy link
Copy Markdown

No description provided.

infraredgirl and others added 29 commits September 21, 2021 10:42
Fixes "Executable `/bin/bash` not found" on NixOS systems
Adding to the path without warning the user seems a little invasive.  
Save the original value and change it back after.
* Ensure that packer validate is executed on a directory
* Ensure that packer validate is restricted to modern HCL2
  Packer templates and corresponding file suffixes
* Update deprecated circleci images to latest

* Fix python version file for ubuntu 2004 machine image

* Python bumped to 3.9 from 3.5 series
* tflint has deprecated the 'tflint FILE/DIR' syntax

* Quote parameters to dirname/basename

---------

Co-authored-by: Jeremy Yoder <45078974+jyoder-deloitte@users.noreply.github.com>
* feature: add a git root keyword for `--config` argument

When operating in a monorepo the new functionality of tflint (`--chdir`) breaks config file path by changing the current working directory when tflint runs.  This commit patches this gap by allowing a user to provide __GIT_ROOT__ or populate a environment variable with a custom string and when the `--config` argument is is found it replaces that keyword with the repository root (pwd in the case of pre-commit).

* feature: add documentation
README made reference to the wrong default value of the root keyword.
Co-authored-by: James Kwon <96548424+hongil0316@users.noreply.github.com>
* Fix exclude regular expressions

the current expressions look like a typo? They require one or more literal '.'s, followed by one of any symbol, then "terraform". I reasoned that the `.+` at the start was entirely superfluous and just check for the `.terraform/`

* delete extra $'s
* Fix shebang line 1 and fmt command

shebang needs to be on line one to work properly and sentinel fmt no longer has a diff cli argument

* adding execute to sentinel-fmt hook

Signed-off-by: Will Schultz <schultzwc18@gmail.com>

---------

Signed-off-by: Will Schultz <schultzwc18@gmail.com>
* feat: Adding tofu hooks

* feat: Updating README.md

* fix: Updating `.pre-commit-hooks.yaml`
* Support ci/default-values.yaml

* Address comment

---------

Co-authored-by: James Kwon <96548424+hongil0316@users.noreply.github.com>
* feat: Adding `terragrunt hcl fmt` script

* fix: Fixing `.pre-commit-hooks.yaml`

* fix: Updating hook logic
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.