2020-03-11 15:18:21 -04:00
|
|
|
// https://github.com/terraform-linters/tflint/blob/master/docs/guides/config.md
|
|
|
|
config {
|
|
|
|
module = true
|
2020-04-02 12:09:34 -04:00
|
|
|
deep_check = false
|
2020-03-11 15:18:21 -04:00
|
|
|
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" {
|
2020-04-02 12:09:34 -04:00
|
|
|
enabled = false
|
2020-03-11 15:18:21 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
rule "aws_instance_previous_type" {
|
|
|
|
enabled = false
|
|
|
|
}
|
|
|
|
|
|
|
|
// plugin "example" {
|
|
|
|
// enabled = true
|
|
|
|
// }
|