Skip to content
This repository was archived by the owner on Feb 17, 2024. It is now read-only.

Failed to parse CLI arguments; Failed to load sh: File not found #52

Description

@tkreuder

Hi,
thanks a lot for your work on the tflint image!

I am running the image on the latest version of gitlab-runner and do get:

Executing "step_script" stage of the job script
00:01
Using docker image sha256:7bb16013e6077cb34a49d4f93b07f0eff81301f094e3a21231ea64856d01c860 for ghcr.io/terraform-linters/tflint-bundle:v0.41.0.1 with digest ghcr.io/terraform-linters/tflint-bundle@sha256:c1a9ab620e8d1473ee564a7b971a6fa02b7bc7a7d9842123c6fd0aac6548fe[18]...
Failed to parse CLI arguments; Failed to load `sh`: File not found

The logs of the container are empty.

This is how the gitlab pipeline stage looks like:

lint-modules:
  stage: tflint
  image: ghcr.io/terraform-linters/tflint-bundle:v0.41.0.1
  script:
    - tflint --init
    - tflint modules/xyz

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