-
-
Notifications
You must be signed in to change notification settings - Fork 292
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
It looks like tflint doesn't work in megalinter 7.0.x.
Details: https://github.com/ruzickap/k8s-tf-eks-gitops/actions/runs/5114199496/jobs/9194202870
❌ Linted [TERRAFORM] files with [tflint]: Found 5 error(s) - (0.37s) (expand for details)
- Using [tflint v0.46.1] https://megalinter.io/7.0.3/descriptors/terraform_tflint
- MegaLinter key: [TERRAFORM_TFLINT]
- Rules config: [.tflint.hcl]
- Number of files analyzed: [5]
[Pre][TERRAFORM_TFLINT] run: [tflint --init --config /action/lib/.automation/.tflint.hcl] in cwd [/github/workspace]
[Pre][TERRAFORM_TFLINT] error:
Installing `aws` plugin...
Failed to install a plugin; Failed to fetch GitHub releases: GET https://api.github.com/repos/terraform-linters/tflint-ruleset-aws/releases/tags/v0.17.0: 401 Bad credentials []
[tflint] terraform/aws-mgmt/data.tf - ERROR - 1 error(s)
--Error detail:
WARNING: "tflint FILE/DIR" is deprecated and will error in a future version. Use --chdir or --filter instead.
Failed to initialize plugins; Plugin `aws` not found. Did you run `tflint --init`?
[tflint] terraform/aws-mgmt/eks.tf - ERROR - 1 error(s)
--Error detail:
WARNING: "tflint FILE/DIR" is deprecated and will error in a future version. Use --chdir or --filter instead.
Failed to initialize plugins; Plugin `aws` not found. Did you run `tflint --init`?
Megalinter 6.x.x works fine with tflint: https://github.com/ruzickap/k8s-tf-eks-gitops/actions/runs/5112503034/jobs/9190611249
✅ Linted [TERRAFORM] files with [tflint] successfully - (4.78s) (expand for details)
- Using [tflint v0.45.0] https://megalinter.io/6.22.2/descriptors/terraform_tflint
- MegaLinter key: [TERRAFORM_TFLINT]
- Rules config: [.tflint.hcl]
- Number of files analyzed: [5]
[Pre][TERRAFORM_TFLINT] run: [tflint --init --config /action/lib/.automation/.tflint.hcl] in cwd [/github/workspace]
[Pre][TERRAFORM_TFLINT] Installing `aws` plugin...
Installed `aws` (source: github.com/terraform-linters/tflint-ruleset-aws, version: 0.17.0)
Thanks for checking it...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working