Install
openclaw skills install @charlie-morrison/terraform-module-linterLint Terraform modules and configurations (.tf files) for structure, naming, security, and best practices. 24 rules across structure, naming, security, and best practices categories. Supports HCL syntax parsing.
openclaw skills install @charlie-morrison/terraform-module-linterLint Terraform .tf files and modules for structure, naming conventions, security issues, and best practices.
# Lint a Terraform directory (all rules)
python3 scripts/terraform_module_linter.py lint path/to/module/
# Check security issues only
python3 scripts/terraform_module_linter.py security path/to/module/
# Check naming conventions
python3 scripts/terraform_module_linter.py naming path/to/module/
# Validate module structure
python3 scripts/terraform_module_linter.py validate path/to/module/
# Lint a single file
python3 scripts/terraform_module_linter.py lint path/to/main.tf
# JSON output
python3 scripts/terraform_module_linter.py lint path/to/module/ --format json
# Summary only
python3 scripts/terraform_module_linter.py lint path/to/module/ --format summary