You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are several [pre-commit](http://pre-commit.com/) hooks to keep Terraform configurations (both `*.tf` and `*.tfvars`) in a good shape:
49
+
There are several [pre-commit](http://pre-commit.com/) hooks to keep Terraform configurations (both `*.tf` and `*.tfvars`) and Terragrunt configurations (`*.hcl`) in a good shape:
50
50
*`terraform_fmt` - Rewrites all Terraform configuration files to a canonical format.
51
51
*`terraform_validate` - Validates all Terraform configuration files.
52
52
*`terraform_docs` - Inserts input and output documentation into `README.md`. Recommended.
53
53
*`terraform_docs_without_aggregate_type_defaults` - Inserts input and output documentation into `README.md` without aggregate type defaults.
54
54
*`terraform_docs_replace` - Runs `terraform-docs` and pipes the output directly to README.md
55
-
*`terragrunt_fmt` - Rewrites all Terragrunt configuration files to a canonical format.
55
+
*`terragrunt_fmt` - Rewrites all Terragrunt configuration files (`*.hcl`) to a canonical format.
56
56
57
57
Check the [source file](https://github.com/antonbabenko/pre-commit-terraform/blob/master/.pre-commit-hooks.yaml) to know arguments used for each hook.
0 commit comments