Skip to content

Error with TFLint Version v0.50.0: "Failed to load TFLint config; failed to load file: open .tflint.hcl: no such file or directory" #83

@fujiya228

Description

@fujiya228

Description

With TFLint version v0.50.0, the following error occurs:

Failed to load TFLint config; failed to load file: open .tflint.hcl: no such file or directory

I have confirmed that this error does not occur with version v0.49.0.
Additionally, the presence of the .tflint.hcl file has been verified in a previous step.

Steps to Reproduce

The issue occurs when running an action with TFLint version v0.50.0.

Workaround

The issue can be avoided by reverting to TFLint version v0.49.0.

with:
  tflint_version: "v0.49.0"

Expected Behavior

No error should occur when using TFLint version v0.50.0.

Environment Information

Actions

  • runs-on: ubuntu-latest
with:
  tflint_init: "true"
  working_directory: ${{ matrix.environments }}
  github_token: ${{ env.REVIEWDOG_GITHUB_API_TOKEN }}
  reporter: github-pr-review
  fail_on_error: "true"
  filter_mode: "nofilter"
  flags: "--format=checkstyle --config ../../.tflint.hcl"

While there's a possibility that the issue could be related to my environment or settings, your confirmation would be greatly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions