You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This ruleset focus on possible errors and best practices about AWS resources. In other words, the rules warn against code that might fail when running terraform apply or practices that should be avoided.
Requirements
TFLint v0.42+
Go v1.24
Installation
After configuring TFLint, you can install the plugin by adding a config to .tflint.hcl and running tflint --init:
For more information about configuration options for this ruleset plugin, see Plugin Configuration.
Getting Started
Terraform is a great tool for Infrastructure as Code. However, many of these tools don't validate provider-specific issues. For example, see the following configuration file:
Since t1.2xlarge is an invalid instance type, an error will occur when you run terraform apply. But terraform validate and terraform plan cannot find this possible error in advance. That's because it's an AWS provider-specific issue and it's valid as the Terraform Language.
The goal of this ruleset is to find such errors:
By running TFLint with this ruleset in advance, you can fix the problem before the error occurs in production CI/CD pipelines.