Releases: terraform-linters/tflint-ruleset-terraform
Releases · terraform-linters/tflint-ruleset-terraform
v0.12.0
What's Changed
Enhancements
required_providers
: supportephemeral
resources by @bendrucker in #252
Chores
- Enable Dependabot auto-merge by @wata727 in #242
- Bump golang.org/x/net from 0.34.0 to 0.36.0 by @dependabot in #248
- Pin GitHub Action versions by @wata727 in #249
- Bump actions/setup-go from 5.3.0 to 5.4.0 by @dependabot in #250
Full Changelog: v0.11.0...v0.12.0
v0.11.0
What's Changed
Enhancements
- Bump github.com/terraform-linters/tflint-plugin-sdk from 0.21.0 to 0.22.0 by @dependabot in #231
- Required to support ephemeral marks, introduced in Terraform v1.10.
Chores
- Bump github.com/zclconf/go-cty from 1.15.0 to 1.15.1 by @dependabot in #225
- Bump github.com/hashicorp/hcl/v2 from 2.22.0 to 2.23.0 by @dependabot in #222
- deps: Go 1.24 by @wata727 in #241
- Bump github.com/Masterminds/semver/v3 from 3.3.0 to 3.3.1 by @dependabot in #223
- Bump actions/attest-build-provenance from 1 to 2 by @dependabot in #226
- Bump github.com/google/go-cmp from 0.6.0 to 0.7.0 by @dependabot in #239
- Bump github.com/hashicorp/terraform-registry-address from 0.2.3 to 0.2.4 by @dependabot in #233
- Bump github.com/hashicorp/go-getter from 1.7.6 to 1.7.8 by @dependabot in #232
- Bump github.com/zclconf/go-cty from 1.15.1 to 1.16.2 by @dependabot in #235
- Add make release for release automation by @wata727 in #245
- Use
helper.AssertIssues
fixed in SDK v0.22 by @wata727 in #246
Full Changelog: v0.10.0...v0.11.0
v0.10.0
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
- The following rules now take provider-defined functions into account:
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
- The following rule has been fixed to cause inconsistent results when multiple
Chores
v0.9.1
v0.9.0
v0.8.0
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
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
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
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
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
- However, only issues with missing
terraform_unused_declarations
- HCL native syntax only
BugFixes
- #101: deprecated_index: restore evaluation of JSON expressions