feat: Include terraform-docs component by default in terraform
What
This change adds the terraform-docs
check to the default terraform
template.
Also included is a change to only run terraform-docs
when a
.terraform-docs.yml
file is present to ensure that we won't run the
check when there is no expectation to run terraform-docs
.
Why
This reduces the number of additional includes required in each terraform module project to have the standard checks.
Edited by Jack Stephenson