- #214 #215: Support provider-defined functions
- The following rules now take provider-defined functions into account:
terraform_required_providers
terraform_unused_required_providers
- The following rules now take provider-defined functions into account:
- #216: Fix issues caused by multiple terraform blocks
- The following rule has been fixed to cause inconsistent results when multiple
terraform
blocks are declared:terraform_required_providers
terraform_unused_required_providers
terraform_workspace_remote
- The following rule has been fixed to cause inconsistent results when multiple
- #202: Bump github.com/hashicorp/go-getter from 1.7.5 to 1.7.6
- #206: Bump github.com/Masterminds/semver/v3 from 3.2.1 to 3.3.0
- #207: Bump github.com/hashicorp/hcl/v2 from 2.21.0 to 2.22.0
- #217: deps: Go 1.23
- #218: Bump GoReleaser to v2
- #200: terraform_map_duplicate_keys: Temporarily ignore key evaluation errors
- #195: Bump github.com/zclconf/go-cty from 1.14.4 to 1.15.0
- #178: Add range to terraform_required_version errors
- #189: deprecated_interpolation: Prevent autofix from producing ambiguous attribute keys
- #176: release: Introduce Artifact Attestations
- #179: gofmt rules/terraform_deprecated_lookup.go
- #180: Bump github.com/hashicorp/go-version from 1.6.0 to 1.7.0
- #183: Bump goreleaser/goreleaser-action from 5 to 6
- #186: Bump github.com/hashicorp/hcl/v2 from 2.20.1 to 2.21.0
- #187: Bump github.com/hashicorp/go-getter from 1.7.4 to 1.7.5
- #192: deps: Go 1.22.5
- #161 #167: Bump github.com/hashicorp/hcl/v2 from 2.19.1 to 2.20.1
- This is required for provider-defined functions support
- #160 #171: Bump github.com/terraform-linters/tflint-plugin-sdk from 0.18.0 to 0.20.0
- #162 #166: Bump github.com/zclconf/go-cty from 1.14.2 to 1.14.4
- #165: Bump google.golang.org/protobuf from 1.31.0 to 1.33.0
- #168: Bump golang.org/x/net from 0.21.0 to 0.23.0
- #169: Bump github.com/hashicorp/go-getter from 1.7.3 to 1.7.4
- #170: deps: Go 1.22.2
- #156: workspace_remote: Suppress issues in Terraform v1.1+
- #140: Bump golang.org/x/net from 0.13.0 to 0.17.0
- #141: Bump github.com/hashicorp/go-getter from 1.7.2 to 1.7.3
- #142: Bump github.com/google/go-cmp from 0.5.9 to 0.6.0
- #143: Bump github.com/hashicorp/hcl/v2 from 2.18.1 to 2.19.1
- #144: Bump google.golang.org/grpc from 1.57.0 to 1.57.1
- #147: Bump github.com/hashicorp/terraform-registry-address from 0.2.2 to 0.2.3
- #152: Bump actions/setup-go from 4 to 5
- #153: Bump github.com/zclconf/go-cty from 1.14.1 to 1.14.2
- #155: deps: Go 1.22
- #158: Revise rules documentation
- #128 #132: new rule:
terraform_deprecated_lookup
- #131:
terraform_naming_convention
: Add support for checks and scoped data sources - #135:
terraform_unused_declarations
: Add support for scoped data sources - #136: Add support for provider refs in scoped data sources
- #133:
terraform_unused_declarations
: Make unused variable checks aware of validation blocks
- #106 #117: Bump github.com/hashicorp/terraform-registry-address from 0.2.0 to 0.2.2
- #108: Bump github.com/hashicorp/go-getter from 1.7.1 to 1.7.2
- #109: Bump github.com/terraform-linters/tflint-plugin-sdk from 0.17.0 to 0.18.0
- #114: Add raw binary entries to checksums.txt
- #115: Fix typo in rule documentation
- #122 #123 #137: Bump github.com/zclconf/go-cty from 1.13.2 to 1.14.1
- #124 #138: Bump github.com/hashicorp/hcl/v2 from 2.17.0 to 2.18.1
- #126: deps: Go 1.21
- #127: Bump actions/checkout from 3 to 4
- #129: Bump goreleaser/goreleaser-action from 4 to 5
- #104: Bump tflint-plugin-sdk to v0.17.0
- This change drops support for TFLint v0.40/v0.41
- #93: Add autofix support
terraform_comment_syntax
terraform_deprecated_index
terraform_deprecated_interpolation
terraform_empty_list_equality
terraform_required_provider
- However, only issues with missing
source
can be fixed
- However, only issues with missing
terraform_unused_declarations
- HCL native syntax only
- #101: deprecated_index: restore evaluation of JSON expressions
- #96: terraform_deprecated_index: add example of fix
- #99: Bump github.com/zclconf/go-cty from 1.13.1 to 1.13.2
- #102: Bump github.com/hashicorp/hcl/v2 from 2.16.2 to 2.17.0
- #64: required_providers: warn on legacy version syntax, missing source
- #63: required_providers: use required provider entry as range if present
- #90: terraform_deprecated_index: Emit issues based on expression types
- #57: Fix typo in rule documentation
- #65 #70 #79: Bump github.com/hashicorp/hcl/v2 from 2.15.0 to 2.16.2
- #67: Bump golang.org/x/net from 0.3.0 to 0.7.0
- #68: Bump github.com/aws/aws-sdk-go from 1.15.78 to 1.34.0
- #69 #82: Bump github.com/hashicorp/go-getter from 1.6.2 to 1.7.1
- #76 #81: Bump github.com/zclconf/go-cty from 1.12.1 to 1.13.1
- #78: Bump sigstore/cosign-installer from 2 to 3
- #80: Bump actions/setup-go from 3 to 4
- #83: Bump github.com/hashicorp/terraform-registry-address from 0.1.0 to 0.2.0
- #85 #88: Bump github.com/terraform-linters/tflint-plugin-sdk from 0.15.0 to 0.16.1
- #87: Bump github.com/Masterminds/semver/v3 from 3.2.0 to 3.2.1
- #49: terraform_deprecated_index: improve perf for files with many expressions
- #45: Add signatures for keyless signing
- #46: Bump github.com/hashicorp/hcl/v2 from 2.14.1 to 2.15.0
- #47: Bump github.com/zclconf/go-cty from 1.11.1 to 1.12.1
- #50: Bump github.com/Masterminds/semver/v3 from 3.1.1 to 3.2.0
- #51: Use # comment syntax in configuration example
- #53: Bump goreleaser/goreleaser-action from 3 to 4
- #54: Bump tflint-plugin-sdk to v0.15.0
- #55: Bump terraform-registry-address to v0.1.0
- #43: terraform_deprecated_index: handle Terraform directives (HCL template)
- #39: Bump github.com/zclconf/go-cty from 1.11.0 to 1.11.1
- #34: deprecated_index: reject legacy splat expressions
- #30: Bump github.com/hashicorp/hcl/v2 from 2.14.0 to 2.14.1
- #31: Fix typo in configuration.md
- #38: Bump tflint-plugin-sdk to v0.14.0
- #26: Prefer --only option over other rules config
- TFLint v0.40.1+ is required to apply this bug fix.
Initial release 🎉
The rules have been migrated from TFLint v0.39.3. See the TFLint's CHANGELOG for a history of previous changes to these rules.