thazelart/terraform-validator

Add `terraform validate` test

thazelart opened this issue · 2 comments

the idea is to add a new test: ensure_terraform_validate

If set to true, this will ensure that the terraform validate command pass. This ensure that the terraform code is well written.

In order to run the good terraform version for everyone, terraform will be a dependency of terraform-validator if that option is set to true

terraform validate needs a terraform init which is a blocking point for terraform modules.

This feature won't be part of 2.0.0 version

We are too far from that right now. And I'm not sure that terraform-validator should run external tools