Missing tflint execution in script after tflint --init #1381
Labels
No labels
dependencies
difficulty::high
difficulty::low
difficulty::medium
good first issue
help wanted
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
justin/makes#1381
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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