From afd19c99be01022c37ae1d18f7f54423a3eefcc5 Mon Sep 17 00:00:00 2001 From: Kazuma Watanabe Date: Fri, 8 Jan 2021 00:16:12 +0900 Subject: [PATCH] Tweak TFLint default config (#1124) --- TEMPLATES/.tflint.hcl | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/TEMPLATES/.tflint.hcl b/TEMPLATES/.tflint.hcl index 31ae3940..7913c326 100644 --- a/TEMPLATES/.tflint.hcl +++ b/TEMPLATES/.tflint.hcl @@ -1,31 +1,6 @@ -// https://github.com/terraform-linters/tflint/blob/master/docs/guides/config.md +// https://github.com/terraform-linters/tflint/blob/master/docs/user-guide/config.md config { module = false force = false - - // aws_credentials = { - // access_key = "AWS_ACCESS_KEY" - // secret_key = "AWS_SECRET_KEY" - // region = "us-east-1" - // } - - // ignore_module = { - // "github.com/terraform-linters/example-module" = true - // } - - // varfile = ["example1.tfvars", "example2.tfvars"] - - // variables = ["foo=bar", "bar=[\"baz\"]"] } -rule "aws_instance_invalid_type" { - enabled = false -} - -rule "aws_instance_previous_type" { - enabled = false -} - -// plugin "example" { -// enabled = true -// }