diff --git a/terraform-static-analysis/tflint-configs/tflint.aws.hcl b/terraform-static-analysis/tflint-configs/tflint.aws.hcl new file mode 100755 index 00000000..9249f94b --- /dev/null +++ b/terraform-static-analysis/tflint-configs/tflint.aws.hcl @@ -0,0 +1,16 @@ +plugin "aws" { + enabled = true + version = "0.17.0" + source = "github.com/terraform-linters/tflint-ruleset-aws" +} + +plugin "terraform" { + enabled = true + version = "0.1.0" + preset = "recommended" + source = "github.com/terraform-linters/tflint-ruleset-terraform" +} + +rule "terraform_deprecated_index" { + enabled = false +} diff --git a/terraform-static-analysis/tflint-configs/tflint.default.hcl b/terraform-static-analysis/tflint-configs/tflint.default.hcl index f1221871..9e01c7a8 100755 --- a/terraform-static-analysis/tflint-configs/tflint.default.hcl +++ b/terraform-static-analysis/tflint-configs/tflint.default.hcl @@ -1,9 +1,3 @@ -plugin "aws" { - enabled = true - version = "0.18.0" - source = "github.com/terraform-linters/tflint-ruleset-aws" -} - plugin "terraform" { enabled = true version = "0.2.1" @@ -13,4 +7,4 @@ plugin "terraform" { rule "terraform_deprecated_index" { enabled = false -} \ No newline at end of file +}