For proper linting and checking, this repo uses pre-commit
associated with pre-push
hooks. The following must be installed in the local workstation. See Confining Hooks to Run at Certain Stages for details.
After the first checkout locally, run the following command to initial the pre-commit hooks.
pre-commit install --hook-type pre-push
It is possible to run the pre-commit hooks manually. To run all the pre-commit hooks for this repo, run
pre-commit run --all-files
To run just the Cloudformation linter (cfn-lint
), run
pre-commit run cfn-python-lint
To run just the checkov checker, run
pre-commit run checkov
Name | Version |
---|---|
terraform | ~> 1.2 |
No providers.
No modules.
No resources.
No inputs.
No outputs.