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

precommit: terraform fmt makes changes on disk #1

Merged
merged 1 commit into from
Jan 27, 2022

Commits on Jan 27, 2022

  1. precommit: terraform fmt makes changes on disk

     ### Issues Addressed
    Most of our pre-commit checks just make the changes that are rote,
    obvious changes. Not `terraform fmt`! And there's no reason for it, it's
    just someone decided to do it that way and the maintainers won't switch
    it back. Comment thread:
    gruntwork-io#48
    
     ### Summary of Changes
    I patched precommit to use the expected behavior. I included a shell
    file to add the patch so it's easy to stay up-to-date with upstream.
    
     ### Test Plan
    - Tested that precommit now automatically updates terraform files when
      using this branch for precommit.
    topher200 committed Jan 27, 2022
    Configuration menu
    Copy the full SHA
    d160f27 View commit details
    Browse the repository at this point in the history