Tweak TFLint default config (#1124)

This commit is contained in:
Kazuma Watanabe 2021-01-08 00:16:12 +09:00 committed by GitHub
parent 30f023379e
commit afd19c99be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
// }