fluidattacks / makes

A software supply chain framework powered by Nix.
https://makes.fluidattacks.tech/
MIT License
453 stars 43 forks source link

Missing tflint execution in script after tflint --init #1381

Closed mandresuri closed 4 weeks ago

mandresuri commented 4 weeks ago

Description: In the current version of the script, after initializing tflint using --init, the actual linting step with tflint --config="${cfg}" is missing. This causes Terraform files to not be linted.

Expected Behavior: tflint should lint the Terraform files after --init is executed

Actual Behavior: The script initializes tflint, but it doesn't perform the actual linting of the Terraform files.

Steps to Reproduce: Run the script. Observe that the linting step is not executed after initialization. Proposed Solution: Add the missing step: && tflint --config="${cfg}" in https://github.com/fluidattacks/makes/blob/main/src/args/lint-terraform/entrypoint.sh