tflint-ruleset-terraform icon indicating copy to clipboard operation
tflint-ruleset-terraform copied to clipboard

TFLint ruleset for Terraform Language

Results 9 tflint-ruleset-terraform issues
Sort by recently updated
recently updated
newest added

Fixes #177 I wondered about sorting the blocks / filenames or looking for `main.tf`, but decided to keep it simple. A couple questions came up for me: - Is it...

### Summary It is not clear from the output of `tflint` which modules are missing a `required_version` for terraform. The warning just says `on line 0: (source code not available)`...

bug

terraform-linters/tflint#1225 fixed the case where a provider was explicitly passed to a module, but stated: > It remains a lint error to declare a required provider when it is implicitly...

bug

Implements autofix for `terraform_unused_required_providers`, on top of #93

Bumps [github.com/hashicorp/go-getter](https://github.com/hashicorp/go-getter) from 1.7.5 to 1.7.6. Release notes Sourced from github.com/hashicorp/go-getter's releases. v1.7.6 What's Changed fix: Avoid panic when s3 URL is invalid by @​liamg in hashicorp/go-getter#501 New Contributors @​liamg...

dependencies
go

Hashicorp's convention is to allow external reference of nested modules if there is a README.md present, or treat as private/internal if there is not one present. Since there is no...

### Summary There seems to be an issue with tflint when there exists multiple `terraform` blocks which terraform merges according to the override files feature. In my case I'm using...

bug

The introduction of moved blocks means that we can now statically rename resources. Here is an example test case of what I'm proposing. ```go Name: "mixed_snake_case: kebab-case to snake_case", Content:...

This adds a new rule `terraform_no_short_circuit_evaluation` that checks for attempts to use logical operators (`&&`, `||`) with null checks that could lead to errors due to lack of short-circuit evaluation....