feat: add support for tflint scanner for Terraform
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you receive complimentary access to GitLab Duo.
What does this MR do and why?
This update adds TFLint as a new code quality scanner to the existing suite of tools. TFLint is specifically designed to scan and lint Terraform code, helping identify issues in infrastructure-as-code files. The changes include adding a new template file for TFLint configuration, updating the main README to document the new scanner, and modifying the codequality-oss.yml file to include TFLint as an option. The TFLint scanner will automatically run when Terraform files (*.tf) are detected in the repository, generating code quality reports in the same format as the other scanners. Users can either use a custom configuration file (.tflint.hcl) or run with default settings if no configuration is provided..
This merge request is part of #7 (closed)