Skip to content

Releases: terraform-linters/tflint-ruleset-terraform

v0.10.0

04 Nov 09:03
Compare
Choose a tag to compare

0.10.0 (2024-11-04)

Enhancements

  • #214 #215: Support provider-defined functions
    • The following rules now take provider-defined functions into account:
      • terraform_required_providers
      • terraform_unused_required_providers

Bug Fixes

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

Chores

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

v0.9.1

03 Aug 13:45
Compare
Choose a tag to compare

0.9.1 (2024-08-03)

Bug Fixes

  • #200: terraform_map_duplicate_keys: Temporarily ignore key evaluation errors

v0.9.0

30 Jul 14:24
Compare
Choose a tag to compare

0.9.0 (2024-07-30)

Enhancements

  • #194 #196: Add terraform_map_duplicate_keys rule

Chores

  • #195: Bump github.com/zclconf/go-cty from 1.14.4 to 1.15.0

v0.8.0

06 Jul 14:25
Compare
Choose a tag to compare

0.8.0 (2024-07-06)

Enhancements

  • #178: Add range to terraform_required_version errors

Bug Fixes

  • #189: deprecated_interpolation: Prevent autofix from producing ambiguous attribute keys

Chores

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

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