Comments (4)
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.
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.
With deep_check = false
in the aws
plugin config it is not giving this error.
from tflint-bundle.
Duplicate of terraform-linters/tflint#1468
from tflint-bundle.
Related Issues (7)
- tflint fails to find modules HOT 2
- latest tflint-bundle causes errors with the AWS plugin HOT 1
- Create multi-arch image HOT 1
- Failed to parse CLI arguments; Failed to load `sh`: File not found HOT 7
- docker image is run by default as root (privileged) user HOT 3
- Dockerfile should have RUN tflint --init HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tflint-bundle.