Created
April 14, 2022 22:15
-
-
Save etiennejeanneaurevolve/1ed387dc73c5d4cb53ab313049587d09 to your computer and use it in GitHub Desktop.
Setup pre-commit-terraform on Windows 10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
prerequisites: | |
- git and gitbash | |
- python 3.x | |
- install all prerequisites needed (see https://github.com/antonbabenko/pre-commit-terraform) | |
Ensure your PATH environment variable looks for bash.exe in "C:\Program Files\Git\bin" (the one present in C:\Windows\System32\bash.exe does not work with pre-commit.exe) | |
For checkov, you may need to also set your PYTHONPATH environment variable with the path to your python modules. | |
ex: C:\Users\USERNAME\AppData\Local\Programs\Python\Python39\Lib\site-packages |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment