A tool that validates and compares used vs. available terraform module versions in git repositories; at the moment only modules hosted in Gitlab repositories.
Install
brew tap rollwagen/homebrew-tap
brew install rollwagen/tap/tf-module-versions
Usage
Pre-requisites
Currently, version validation support is only for terraform modules stored
in Gitlab repositories.
For authentication towards Gitlab, an environment variable GITLAB_TOKEN
needs to be present that holds a valid GitLab authentication token.
'tfm' validates and compares used vs. available terraform module versions
in git repositories.
Usage:
tfm [command]
Available Commands:
completion Generate the autocompletion script for the specified shell
help Help about any command
validate Print module version validation on stdout as logs
Flags:
-h, --help help for tf-modver
Use "tfm [command] --help" for more information about a command.
Example output of running tfm validate