mirror of
https://github.com/storytold/terraform-aws-observability-accelerator.git
synced 2026-10-09 00:09:43 +00:00
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:
@@ -13,7 +13,7 @@ env:
|
||||
TERRAFORM_DOCS_VERSION: v0.16.0
|
||||
TFSEC_VERSION: v1.22.0
|
||||
TF_PLUGIN_CACHE_DIR: ${{ github.workspace }}/.terraform.d/plugin-cache
|
||||
TFLINT_VERSION: v0.38.1
|
||||
TFLINT_VERSION: v0.44.1
|
||||
|
||||
concurrency:
|
||||
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
|
||||
|
||||
+1
-13
@@ -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:
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
|
||||
plugin "aws" {
|
||||
enabled = true
|
||||
version = "0.14.0"
|
||||
version = "0.21.1"
|
||||
source = "github.com/terraform-linters/tflint-ruleset-aws"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user