Skip to content

Instantly share code, notes, and snippets.

@guivin
Created April 4, 2022 11:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save guivin/da8f347a19b8f4907de0ef83a92890c7 to your computer and use it in GitHub Desktop.
Save guivin/da8f347a19b8f4907de0ef83a92890c7 to your computer and use it in GitHub Desktop.
TFLint configuration example
config {
force = false
disabled_by_default = false
}
plugin "aws" {
enabled = true
version = "0.12.0"
source = "github.com/terraform-linters/tflint-ruleset-aws"
}
# Enabled by default. Check more AWS rules: https://github.com/terraform-linters/tflint-ruleset-aws/blob/master/docs/rules/README.md
rule "aws_instance_invalid_type" {
enabled = true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment