Installation
Requirements
Section titled “Requirements”- TFLint v0.42+
- Go v1.25
Installing the Plugin
Section titled “Installing the Plugin”TODO: This template repository does not contain release binaries, so this installation will not work. Please rewrite for your repository. See the “Building the plugin” section to get this template ruleset working.
You can install the plugin with tflint --init. Declare a config in .tflint.hcl as follows:
plugin "aws-meta" { enabled = true
version = "0.5.1" source = "github.com/myerscode/tflint-ruleset-aws-meta"}Basic Configuration
Section titled “Basic Configuration”Once installed, the plugin will run with default settings. Three rules are enabled by default:
aws_meta_hardcoded- Comprehensive ARN validation across all AWS resourcesaws_service_principal_dns_suffix- Detects dns_suffix interpolation in service principalsaws_service_principal_hardcoded- Detects hardcoded DNS suffixes in service principals
Next Steps
Section titled “Next Steps”After installation, see the Configuration guide for:
- Configuring and enabling/disabling rules
- Running TFLint with the plugin
- Configuration examples for different scenarios