Skip to content

Releases: terraform-linters/tflint-ruleset-terraform

v0.7.0

02 May 14:26
Compare
Choose a tag to compare

0.7.0 (2024-05-02)

Enhancements

  • #161 #167: Bump github.com/hashicorp/hcl/v2 from 2.19.1 to 2.20.1
    • This is required for provider-defined functions support

Chores

  • #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

v0.6.0

24 Feb 07:48
Compare
Choose a tag to compare

0.6.0 (2024-02-24)

Enhancements

  • #156: workspace_remote: Suppress issues in Terraform v1.1+

Chores

  • #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

v0.5.0

09 Oct 08:45
Compare
Choose a tag to compare

0.5.0 (2023-10-09)

Enhancements

  • #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

BugFixes

  • #133: terraform_unused_declarations: Make unused variable checks aware of validation blocks

Chores

  • #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

v0.4.0

18 Jun 08:02
Compare
Choose a tag to compare

0.4.0 (2023-06-18)

Breaking Changes

  • #104: Bump tflint-plugin-sdk to v0.17.0
    • This change drops support for TFLint v0.40/v0.41

Enhancements

  • #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
    • terraform_unused_declarations
      • HCL native syntax only

BugFixes

  • #101: deprecated_index: restore evaluation of JSON expressions

Chores

  • #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

v0.3.0

22 Apr 10:07
Compare
Choose a tag to compare

0.3.0 (2023-04-22)

Breaking Changes

  • #64: required_providers: warn on legacy version syntax, missing source

BugFixes

  • #63: required_providers: use required provider entry as range if present
  • #90: terraform_deprecated_index: Emit issues based on expression types

Chores

  • #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

v0.2.2

26 Dec 07:48
Compare
Choose a tag to compare

0.2.2 (2022-12-26)

BugFixes

  • #49: terraform_deprecated_index: improve perf for files with many expressions

Chores

  • #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

v0.2.1

25 Oct 17:09
Compare
Choose a tag to compare

0.2.1 (2022-10-26)

BugFixes

  • #43: terraform_deprecated_index: handle Terraform directives (HCL template)

Chores

  • #39: Bump github.com/zclconf/go-cty from 1.11.0 to 1.11.1

v0.2.0

23 Oct 08:47
Compare
Choose a tag to compare

0.2.0 (2022-10-23)

Enhancements

  • #34: deprecated_index: reject legacy splat expressions

Chores

  • #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

v0.1.1

17 Sep 13:18
Compare
Choose a tag to compare

0.1.1 (2022-09-17)

BugFixes

  • #26: Prefer --only option over other rules config
    • TFLint v0.40.1+ is required to apply this bug fix.

v0.1.0

07 Sep 15:14
Compare
Choose a tag to compare

0.1.0 (2022-09-08)

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.