- TFLint v0.40+
- Go v1.20
- Install
tflint
and runtflint --init
within your Terraform project repository
- Move the
.tflint.hcl
file from this repository to your Terraform project repository tflint
For more information refer to Terraform documentation
--no-color
makes the output compatible to plain textlogs such as in Jenkins
- No Hardcoded Secret:
variable
files with password-like names should not have default values set - Password Strength:
- Any expression containing password-like elements should evaluate to a string that:
- Is at least 8 characters long
- Contains capital & lower alphabet, digits, and special characters
- Any expression containing password-like elements should evaluate to a string that:
- Invalid IP Address Binding: checks whether IP Address is '0.0.0.0'
- HTTP without TLS: checks whether URLs use HTTP without TLS (i.e., not HTTPS)