Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: antonbabenko/pre-commit-terraform
base: v1.28.0
Choose a base ref
...
head repository: antonbabenko/pre-commit-terraform
compare: v1.29.0
Choose a head ref
  • 2 commits
  • 4 files changed
  • 2 contributors

Commits on Apr 4, 2020

  1. fix: Change terraform_validate hook functionality for subdirectories …

    …with terraform files (#100)
    
    * Update terraform_validate.sh:
    -Change to the directory before running terraform validate to use the Terraform
     configuration for the appropriate working directory.
    
    * Neglected to change the terraform validate call to use the default of the
    current directory.
    
    * Several changes to improve functionality:
    - Switch to checking the path for '*.tf' instead of always checking the current
      directory.
    - Try to find a '.terraform' directory (which indicates a `terraform init`) and
      change to that directory before running `terraform validate`.
    
    * Fix the description for the terraform_validate hook to reflect changes that were
    made in:
    35e0356
    
    * - Clean up comments.
    - Adjust variable names to better reflect what they are holding.
    mcdonnnj committed Apr 4, 2020
    Configuration menu
    Copy the full SHA
    7694fb9 View commit details
    Browse the repository at this point in the history
  2. Updated CHANGELOG

    antonbabenko committed Apr 4, 2020
    Configuration menu
    Copy the full SHA
    29fa140 View commit details
    Browse the repository at this point in the history