Releases: terraform-linters/tflint
v0.34.0
v0.33.2
0.33.2 (2021-12-07)
GPG key ID: 8CE69160EB3F2FE9
Chores
- #1244: build(deps): Bump github.com/owenrumney/go-sarif from 1.0.11 to 1.0.12
- #1247: remove precommit hooks (@bendrucker)
- #1251 #1272: build(deps): Bump github.com/terraform-linters/tflint-ruleset-aws from 0.8.0 to 0.10.0
- #1252: build(deps): Bump github.com/zclconf/go-cty from 1.9.1 to 1.10.0
- #1253: refactor: move from io/ioutil to io and os packages (@Juneezee)
- #1261: add missing rule to index, alphabetize (@nmarchini)
- #1264: build(deps): Bump actions/cache from 2.1.6 to 2.1.7
- #1265 #1273: build(deps): Bump alpine from 3.14.2 to 3.15.0
- #1266: build(deps): Bump github.com/mattn/go-colorable from 0.1.11 to 0.1.12
- #1269: plugin: log when
GITHUB_TOKEN
is set (@bendrucker) - #1271: build(deps): Bump github.com/hashicorp/hcl/v2 from 2.10.1 to 2.11.1
v0.33.1
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