Update tflint aws plugin and fix pre-commit to use config file (#97)

* Fix #96 - Update tflint aws plugin and fix pre-commit to use config file

* Update tflint version used in workflow

---------

Co-authored-by: Rodrigue Koffi <bonclay7@users.noreply.github.com>
This commit is contained in:
Mark Beacom
2023-01-27 12:38:32 -05:00
committed by GitHub
parent 331ee539a2
commit c698189940
3 changed files with 3 additions and 15 deletions
+1 -13
View File
@@ -20,19 +20,7 @@ repos:
exclude: deploy
- id: terraform_tflint
args:
- '--args=--only=terraform_deprecated_interpolation'
- '--args=--only=terraform_deprecated_index'
- '--args=--only=terraform_unused_declarations'
- '--args=--only=terraform_comment_syntax'
- '--args=--only=terraform_documented_outputs'
- '--args=--only=terraform_documented_variables'
- '--args=--only=terraform_typed_variables'
- '--args=--only=terraform_module_pinned_source'
- '--args=--only=terraform_naming_convention'
- '--args=--only=terraform_required_version'
- '--args=--only=terraform_required_providers'
- '--args=--only=terraform_standard_module_structure'
- '--args=--only=terraform_workspace_remote'
- '--args=--config=__GIT_WORKING_DIR__/.tflint.hcl'
- id: terraform_tfsec
files: ^examples/ # only scan `examples/*` which are the implementation
args: