forked from github/pre-commit-opentofu
docs: Document terraform_tfsec args usage (#238)
This commit is contained in:
parent
013d3084c3
commit
f7e28e1bae
1 changed files with 13 additions and 1 deletions
14
README.md
14
README.md
|
|
@ -293,9 +293,21 @@ Example:
|
|||
}
|
||||
```
|
||||
|
||||
3. `terraform_tfsec` supports custom arguments so you can pass supported `--no-color` or `--format` (output), `-e` (exclude checks) flags:
|
||||
|
||||
```yaml
|
||||
- id: terraform_tfsec
|
||||
args:
|
||||
- >
|
||||
--args=--format json
|
||||
--no-color
|
||||
-e aws-s3-enable-bucket-logging,aws-s3-specify-public-access-block
|
||||
```
|
||||
|
||||
|
||||
### terraform_validate
|
||||
|
||||
1. `terraform_validate` supports custom arguments so you can pass supported no-color or json flags:
|
||||
1. `terraform_validate` supports custom arguments so you can pass supported `-no-color` or `-json` flags:
|
||||
|
||||
```yaml
|
||||
- id: terraform_validate
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue