Releases: terraform-linters/tflint
v0.33.0
0.33.0 (2021-10-14)
GPG key ID: 8CE69160EB3F2FE9
Breaking Changes
- #1220: build: Remove some os/arch build targets (@wata727)
- End of support for pre-built binaries for the following os/arch
- All arch for FreeBSD/OpenBSD/NetBSD
- windows/arm and windows/arm64
- darwin/386
- End of support for pre-built binaries for the following os/arch
Enhancements
- #1228: Adds SARIF as a supported output format (@kadrach)
- #1229 #1237: build(deps): Bump github.com/terraform-linters/tflint-ruleset-aws from 0.7.1 to 0.8.0
- #1235: config: Add
plugin_dir
config (@wata727)
BugFixes
- #1225: terraform_unused_required_providers: handle module provider overrides (@bendrucker)
- #1226: terraform_module_pinned_source: do not assume gitlab URLs are git protocol (@bendrucker)
Chores
v0.32.1
v0.32.0
0.32.0 (2021-09-11)
GPG key ID: 8CE69160EB3F2FE9
Breaking Changes
- #1191: cmd: Change exit status (@wata727)
- Previously, TFLint returned 2 when an internal error occurred and 3 when an issue was found. From this version, it returns 1 in the former case and 2 in the latter case.
Enhancements
- #1182: add rule: terraform_module_version (@bendrucker)
- #1197: terraform_module_pinned_source: detect invalid URLs (@bendrucker)
- #1201 #1212: build(deps): Bump github.com/terraform-linters/tflint-ruleset-aws from 0.6.0 to 0.7.1
Chores
- #1178 #1200: build(deps): Bump alpine from 3.14.0 to 3.14.2
- #1183 #1184: install: allow passing
$TFLINT_INSTALL_PATH
(@bendrucker @williamboman) - #1185: install: support arm64 arch (@williamboman)
- #1186: build(deps): Bump github.com/hashicorp/go-getter from 1.5.6 to 1.5.7
- #1187: build(deps): Bump golang.org/x/text from 0.3.6 to 0.3.7
- #1188: build: bump to use go1.17 (@chenrui333)
- #1195: build(deps): Bump github.com/zclconf/go-cty from 1.9.0 to 1.9.1
- #1199: build(deps): Bump actions/setup-go from 2.1.3 to 2.1.4
- #1205: Remove bundled AWS plugin language from README (@rjhornsby)
- #1208: Tidy up go generate workflow (@bendrucker @chenrui333)
- #1209: Use golangci-lint for linting (@bendrucker @mmorel-35)
- #1214: Enable additional linters (@bendrucker @mmorel-35)
- #1215: build: get cache paths from go env (@bendrucker)
- #1216: build(deps): Bump github.com/hashicorp/go-plugin from 1.4.2 to 1.4.3
v0.31.0
0.31.0 (2021-08-08)
GPG key ID: 8CE69160EB3F2FE9
Enhancements
Changes
BugFixes
- #1169: fix: return error if plugin is not a file (@josh-barker-coles)
Chores
- #1156: grammar fix on installation script (@radius314)
- #1158: terraform: Remove unused internal packages impl (@wata727)
- #1161: build(deps): Bump github.com/zclconf/go-cty from 1.8.4 to 1.9.0
- #1164: Update README about Docker images (@wata727)
- #1166: build(deps): Bump github.com/terraform-linters/tflint-plugin-sdk from 0.9.0 to 0.9.1
- #1167: build(deps): Bump github.com/google/uuid from 1.2.0 to 1.3.0
- #1172: build(deps): Bump github.com/hashicorp/hcl/v2 from 2.10.0 to 2.10.1
- #1174: Bump github.com/sourcegraph/jsonrpc2 to v0.1.0 (@wata727)
- #1175: build(deps): Bump github.com/hashicorp/go-getter from 1.5.5 to 1.5.6
v0.30.0
0.30.0 (2021-07-04)
This release follows the package internalization of Terraform v1.0, and copied some packages as part of TFLint. As a result, the hashicorp/terraform dependency has remove from go.mod, but the copied packages are still included. Therefore, it does not have a significant impact on users. See #937 for more information.
Also, this release adds a new API for the plugin system. For this update, plugins must be built with tflint-plugin-sdk v0.9.0 to work with TFLint v0.30.0. For details, please see the CHANGELOG of tflint-plugin-sdk.
Finally, the Docker image was previously hosted under wata727/tflint, but has been moved to the GitHub Container Registry. If you are using this image, please migrate to ghcr.io/terraform-linters/tflint.
GPG key ID: 8CE69160EB3F2FE9
Enhancements
- #1132: plugin: Expose Files() runner method to Server (@jonathansp)
- #1143: plugin: Allow authenticated requests via GITHUB_TOKEN (@wata727)
- #1148 #1154: Bump bundled AWS ruleset plugin (@wata727)
Chores
- #1137: build(deps): Bump alpine from 3.13 to 3.14.0
- #1141: Copy internal packages from Terraform v1.0 (@wata727)
- #1144: build(deps): Bump golang.org/x/text from 0.3.5 to 0.3.6
- #1145: build(deps): Bump github.com/bmatcuk/doublestar from 1.1.5 to 1.3.4
- #1146: build(deps): Bump github.com/zclconf/go-cty from 1.8.3 to 1.8.4
- #1147: build(deps): Bump github.com/fatih/color from 1.10.0 to 1.12.0
- #1149: build(deps): Bump github.com/agext/levenshtein from 1.2.2 to 1.2.3
- #1150: build(deps): Bump github.com/golang/mock from 1.5.0 to 1.6.0
- #1151: build(deps): Bump github.com/google/go-github/v35 from 35.2.0 to 35.3.0
- #1152: build(deps): Bump github.com/hashicorp/go-uuid from 1.0.1 to 1.0.2
- #1153: build(deps): Bump github.com/hashicorp/go-getter from 1.5.3 to 1.5.5
- #1155: docker: Migrate to GitHub Container Registry (@wata727)
v0.29.1
v0.29.0
0.29.0 (2021-06-05)
This release introduces the --init
option for installing plugins automatically. This makes it easy to install plugin binaries published on GitHub Release that meet conventions. See Configuring Plugins for details.
GPG key ID: 8CE69160EB3F2FE9
Enhancements
- #1119: cmd: Add --init for installing plugins automatically (@wata727)
- #1126: terraform_module_pinned_source: support additional default_branches (@bendrucker)
- #1130: Bump bundled AWS ruleset plugin (@wata727)
Chores
- #1120: build(deps): Bump github.com/hashicorp/terraform from 0.15.1 to 0.15.3
- #1121: build(deps): Bump github.com/zclconf/go-cty from 1.8.2 to 1.8.3
- #1124: Refactor terraform_module_pinned_source rule (@bendrucker)
- #1127: install: handle running as root (without sudo) (@bendrucker)
- #1128: build(deps): Bump actions/cache from 2.1.5 to 2.1.6
v0.28.1
0.28.1 (2021-05-05)
GPG key ID: 8CE69160EB3F2FE9
BugFixes
Chores
- #1108: build(deps): Bump github.com/hashicorp/hcl/v2 from 2.9.1 to 2.10.0
- #1109: build(deps): Bump github.com/zclconf/go-cty from 1.8.1 to 1.8.2
- #1110: build(deps): Bump github.com/hashicorp/go-plugin from 1.4.0 to 1.4.1
- #1113: Log at INFO level when TFLint cannot statically evaluate an expression (@bendrucker)
- #1115: Set the GPG key expiration to 2023-05-01 (@wata727)
- #1116: build(deps): Bump github.com/hashicorp/terraform from 0.15.0 to 0.15.1
v0.28.0
0.28.0 (2021-04-25)
GPG key ID: 8CE69160EB3F2FE9
Enhancements
BugFixes
- #1105: Fix crash when passed --enable-rule with a configured rule (@wata727)
- #1106: Fix crash when passed --only with a configured rule (@wata727)
Chores
- #1100: build(deps): Bump actions/cache from v2.1.4 to v2.1.5
- #1104: add integration test for map[string]string attr (@bendrucker)
v0.27.0
0.27.0 (2021-04-18)
This release adds support for Terraform v0.15. We strongly recommend that you update to Terraform v0.15 before updating TFLint to this version. See the upgrade guide for details.