Skip to content

Commit 7eb805f

Browse files
committed
Updated README with terragrunt_fmt hook
1 parent d8dfc2c commit 7eb805f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Step into the repository you want to have the pre-commit hooks installed and run
2121
```bash
2222
cat <<EOF > .pre-commit-config.yaml
2323
- repo: git://github.com/antonbabenko/pre-commit-terraform
24-
rev: v1.15.0
24+
rev: v1.18.0
2525
hooks:
2626
- id: terraform_fmt
2727
- id: terraform_docs
@@ -46,13 +46,13 @@ pre-commit run -a
4646

4747
## Available Hooks
4848

49-
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:
5050
* `terraform_fmt` - Rewrites all Terraform configuration files to a canonical format.
5151
* `terraform_validate` - Validates all Terraform configuration files.
5252
* `terraform_docs` - Inserts input and output documentation into `README.md`. Recommended.
5353
* `terraform_docs_without_aggregate_type_defaults` - Inserts input and output documentation into `README.md` without aggregate type defaults.
5454
* `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.
5656

5757
Check the [source file](https://github.com/antonbabenko/pre-commit-terraform/blob/master/.pre-commit-hooks.yaml) to know arguments used for each hook.
5858

0 commit comments

Comments
 (0)