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
@@ -338,8 +339,8 @@ There are several [pre-commit](https://pre-commit.com/) hooks to keep Terraform
338
339
|`terraform_trivy`|[Trivy][trivy repo] static analysis of terraform templates to spot potential security issues. [Hook notes](#terraform_trivy)|`trivy`|
339
340
|`terraform_validate`| Validates all Terraform configuration files. [Hook notes](#terraform_validate)|`jq`, only for `--retry-once-with-cleanup` flag |
340
341
|`terragrunt_fmt`| Reformat all [Terragrunt][terragrunt repo] configuration files (`*.hcl`) to a canonical format. |`terragrunt`|
341
-
|`terragrunt_validate`| Validates all [Terragrunt][terragrunt repo] configuration files (`*.hcl`) |`terragrunt`|
342
-
|`terragrunt_validate_inputs`| Validates [Terragrunt][terragrunt repo] unused and undefined inputs (`*.hcl`)||
342
+
|`terragrunt_validate`| Validates all Terraform configuration files in [Terragrunt][terragrunt repo]. [Hook notes](#terragrunt_validate).|`terragrunt`|
343
+
|`terragrunt_validate_inputs`| Validates [Terragrunt][terragrunt repo]configurations, and unused and undefined inputs (`*.hcl`). [Hook notes](#terragrunt_validate_inputs).|`terragrunt`|
343
344
|`terragrunt_providers_lock`| Generates `.terraform.lock.hcl` files using [Terragrunt][terragrunt repo]. |`terragrunt`|
344
345
|`terraform_wrapper_module_for_each`| Generates Terraform wrappers with `for_each` in module. [Hook notes](#terraform_wrapper_module_for_each)|`hcledit`|
345
346
|`terrascan`|[terrascan][terrascan repo] Detect compliance and security violations. [Hook notes](#terrascan)|`terrascan`|
@@ -1185,12 +1186,30 @@ It invokes `terragrunt providers lock` under the hood and terragrunt [does its o
1185
1186
- --args=-platform=linux_amd64
1186
1187
```
1187
1188
1189
+
### terragrunt_validate
1190
+
1191
+
Validates _TF_ configurations. Does not validate anything inside Terragrunt HCL files.
1192
+
1193
+
See Terragrunt docs for [`terragrunt run -- validate`](https://docs.terragrunt.com/reference/cli/commands/run) for more details.
Validates Terragrunt unused and undefined inputs. This is useful for keeping
1209
+
Validates Terragrunt HCL files and unused and undefined inputs. This is useful for keeping
1191
1210
configs clean when module versions change or if configs are copied.
1192
1211
1193
-
See the [Terragrunt docs](https://terragrunt.gruntwork.io/docs/reference/cli-options/#validate-inputs) for more details.
1212
+
See the Terragrunt docs for [`terragrunt hcl validate --inputs`](https://docs.terragrunt.com/reference/cli/commands/hcl/validate/#inputs) for more details.
0 commit comments