What it flags
A literal string, including a heredoc, assigned to a credential argument in a.tf file:
- In a
providerblock, any secret-named argument such asaccess_key,secret_key,token,passwordorclient_secret. - In a
resourceormoduleblock,password,master_password,admin_password,administrator_login_password,root_password,client_secret,secret_key,api_key,api_token,auth_tokenorsecret_string, and any argument whose name ends in_passwordor_secret, such as a module’sdb_password.
var.db_password or data.aws_ssm_parameter.db.value, interpolated strings, URLs, values shorter than 8 characters, and placeholders such as change-me or example. Values in .tfvars files are not read by this rule.
Configuration
Set the rule to"off" in loadwise.config.json to drop its findings: