Popularity
2.3
Growing
Activity
6.7
Declining
26
2
1

Programming language: Go
Tags: Validation    
Latest version: v3.1.1

terraform-validator alternatives and similar packages

Based on the "Validation" category

Do you think we are missing an alternative of terraform-validator or a related project?

Add another 'Validation' Package

README

[Terraform-Validator](docs/docusaurus/static/img/terraform-validator.svg)

Mentioned in Awesome Go GoDoc License
Build Status CodeCov Go Report Card
Docker Cloud Build Status Docker Pulls

This tool will help you ensure that a terraform folder answer to your norms and conventions rules. This can be really useful in several cases :

  • You're a team that want to have a clean and maintainable code.
  • You're a lonely developer that develop a lot of modules and you want to have a certain consistency between them.

Features:

  • [x] make sure that the block names match a certain pattern.
  • [x] make sure that the code is properly dispatched. To do this you can decide what type of block can contain each file (for example output blocks must be in outputs.tf).
  • [x] ensure that mandatory .tf files are present.
  • [x] ensure that the terraform version has been defined.
  • [x] ensure that the providers' version has been defined.
  • [x] make sure that the variables and/or outputs blocks have the description argument filled in.
  • [x] layered terraform folders (test recursively).

Next features:

  • [ ] possibility of prohibiting certain types of resources.
  • [ ] ensure terraform fmt is ok.

:warning: Terraform 0.12+ is supported only by the versions 2.0.0 and higher.

Documentation

Please for the Documentation go the terraform-validator GitHub Pages.

Authors

Thibault Hazelart
Logo by Alexis Normand

License

Apache 2.0


*Note that all licence references and agreements mentioned in the terraform-validator README section above are relevant to that project's source code only.