Skip to content

sysdogs/tfmodvercheck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

tfmodvercheck

This simple Python script will crawl your modules.json generated by terraform init command in order to verify that all modules are using the same version.

It's main purpose is to be used within CI/CD pipeline.

Usage

Python script

python3 main.py PATH_TO_MODULES_JSON

Docker image

Docker image can be used to verify multiple module.json files within a directory.

docker run --rm -it -v PATH_TO_YOUR_TERRAFORM_DIRECTORY:/tf docker.pkg.github.com/sysdogs/tfmodvercheck/tfmodvercheck:0.1.0