Code Monkey home page Code Monkey logo

Comments (4)

wata727 avatar wata727 commented on July 3, 2024

Thank you for reporting this. More detailed information is needed to resolve the issue.

  • Does this issue occur even if you have TFLint installed locally? Or is it a tflint-bundle specific issue?
  • Is there a minimum code or reproduction step to reproduce the issue?

from tflint-bundle.

syphernl avatar syphernl commented on July 3, 2024

With local tflint it is failing with a different error:

❯ flint
❯ tflint --version
TFLint version 0.39.0
❯ tflint .
Failed to initialize plugins; Plugin `aws` not found in /home/username/.tflint.d/plugins

The entire .tflint.d directory does not exist. I've tried creating it and using tflint --init but neither of this worked either.

The container appears to have a .tflint.d directory with the rulesets:

~/.tflint.d/plugins # ls -alh
total 66M    
drwxr-xr-x    2 root     root        4.0K Jul 27 16:14 .
drwxr-xr-x    3 root     root        4.0K Jul 27 16:14 ..
-rwxr-xr-x    1 root     root       39.2M Jul 27 16:14 tflint-ruleset-aws
-rwxr-xr-x    1 root     root       12.8M Jul 27 16:14 tflint-ruleset-azurerm
-rwxr-xr-x    1 root     root       14.2M Jul 27 16:14 tflint-ruleset-google
~/.tflint.d/plugins # 

The .tflint.hcl we use is:

config {
  module = true
  force = false
}

plugin "aws" {
  enabled = true
  deep_check = true
}

rule "terraform_comment_syntax" {
  enabled = true
}

rule "terraform_documented_outputs" {
  enabled = true
}

rule "terraform_documented_variables" {
  enabled = true
}

rule "terraform_typed_variables" {
  enabled = true
}

rule "terraform_naming_convention" {
  enabled = true
}

rule "terraform_required_version" {
  enabled = true
}

rule "terraform_required_providers" {
  enabled = true
}

rule "terraform_deprecated_index" {
  enabled = true
}

from tflint-bundle.

syphernl avatar syphernl commented on July 3, 2024

With deep_check = false in the aws plugin config it is not giving this error.

from tflint-bundle.

bendrucker avatar bendrucker commented on July 3, 2024

Duplicate of terraform-linters/tflint#1468

from tflint-bundle.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.