Releases: terraform-linters/tflint
Releases · terraform-linters/tflint
v0.36.1
v0.36.0
0.36.0 (2022-05-05)
GPG key ID: 8CE69160EB3F2FE9
Enhancements
- #1369: tflint: Add format option to the config file (@wata727)
- #1370: cmd: Add
--color
option (@wata727)
Plugin API Changes
- #1365: Refactor tflint.LoadConfig (@wata727)
- Previously,
GetRuleConfigContent
always returned reserved attributes (e.g.enabled
), regardless of the passed schema, but new gRPC server will not return them.
- Previously,
- #1368: plugin: Allow accepting IncludeNotCreated option (@wata727)
Chores
- #1336: build: Go 1.18 (@wata727)
- #1339 #1347 #1350: build(deps): Bump alpine from 3.15.1 to 3.15.4
- #1344: build: CI only checks docker build for linux/amd64 (@wata727)
- #1346 #1371: build(deps): Bump github.com/terraform-linters/tflint-plugin-sdk from 0.10.0 to 0.11.0
- #1348: discovery: reword message on protocol version err (@bendrucker)
- #1349: build(deps): Bump github.com/hashicorp/go-uuid from 1.0.2 to 1.0.3
- #1360: build(deps): Bump golang from 1.18.0-alpine3.15 to 1.18.1-alpine3.15
- #1361: Add signatures for keyless signing (@wata727)
- #1364: build(deps): Bump github.com/hashicorp/hcl/v2 from 2.11.1 to 2.12.0
- #1366: build(deps): Bump github.com/google/go-cmp from 0.5.7 to 0.5.8
- #1367: build(deps): Bump sigstore/cosign-installer from 2.2.1 to 2.3.0
v0.35.0
0.35.0 (2022-03-27)
This release contains major changes to the plugin system. All plugins must be built with tflint-plugin-sdk v0.10.0+ to support this version. See also https://github.com/terraform-linters/tflint-plugin-sdk/releases/tag/v0.10.0
Another important change is the end support of bundled plugins. Users who use the AWS provider should follow this change.
GPG key ID: 8CE69160EB3F2FE9
Breaking Changes
- #1286: plugin: Drop support for bundled plugins (@wata727)
- Previously, you have been able to use rules for AWS resources, including
aws_instance_invalid_type
, without installing tflint-ruleset-aws explicitly. However, after this release, you will need to explicitly install the plugin. - Please note that even if you are affected by this change, you will not see any warnings in this release. Before updating, it is recommended to check if there is a warning that bundled plugin is enabled in the previous version (v0.31.0+). See also #1160
- Previously, you have been able to use rules for AWS resources, including
- #1292 #1312 #1333 #1334 #1335: Add support for gRPC server for the new plugin system (@wata727)
- This change is not important to end-users, but it is important to plugin developers. See the tflint-plugin-sdk's CHANGELOG for detailed changes.
Enhancements
- #1297: formatter(json,sarif): print structured error data (@sxlijin)
- Add
summary
,severity
, andrange
fields to errors in JSON formatter - Add
tflint-errors
driver in SARIF formatter
- Add
BugFixes
- #1290: terraform_required_providers: ignore builtin providers (@bendrucker)
Chores
- #1206: Build Docker image for linux/aarch64 (@ivy)
- #1287 #1316 #1320: build(deps): Bump actions/setup-go from 2.1.4 to 3
- #1288 #1293 #1295 #1308 #1327: build(deps): Bump github.com/spf13/afero from 1.6.0 to 1.8.2
- #1289: build(deps): Bump github.com/hashicorp/go-getter from 1.5.9 to 1.5.10
- #1294 #1305: build(deps): Bump github.com/terraform-linters/tflint-ruleset-aws from 0.10.1 to 0.12.0
- But this dependency was removed in this release finally.
- #1296: build(deps): Bump github.com/hashicorp/go-version from 1.3.0 to 1.4.0
- #1298: build(deps): Bump github.com/hashicorp/go-getter from 1.5.10 to 1.5.11
- #1301: build(deps): Bump github.com/google/go-cmp from 0.5.6 to 0.5.7
- #1313: Add missing E2E test cases (@wata727)
- #1318: build(deps): Bump github.com/jstemmer/go-junit-report from 0.9.1 to 1.0.0
- #1319: build(deps): Bump golangci/golangci-lint-action from 2 to 3.1.0
- #1321: feat: get architecture for install (@techsolx)
- #1324: build(deps): Bump actions/checkout from 2 to 3
- #1329: build(deps): Bump github.com/stretchr/testify from 1.7.0 to 1.7.1
- #1330: build(deps): Bump actions/cache from 2.1.7 to 3
- #1331: build(deps): Bump golang from 1.17-alpine3.15 to 1.18.0-alpine3.15
- #1332: build(deps): Bump alpine from 3.15.0 to 3.15.1
v0.34.1
0.34.1 (2021-12-25)
GPG key ID: 8CE69160EB3F2FE9
BugFixes
Chores
- #1277: docs: Update Compatibility guide (@wata727)
- #1278: build(deps): Bump github.com/terraform-linters/tflint-ruleset-aws from 0.10.0 to 0.10.1
- #1279: build(deps): Bump github.com/owenrumney/go-sarif from 1.0.12 to 1.1.1
- #1284: docs: linking
terraform_module_version
rule docs (@PatMyron)
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
- #1222 #1236: build(deps): Bump github.com/hashicorp/go-getter from 1.5.7 to 1.5.9
- #1223: fix incorrect documentation (@darrenjones24)
- #1224 #1230 #1234: build(deps): Bump github.com/mattn/go-colorable from 0.1.8 to 0.1.11
- #1231: build(deps): Bump github.com/fatih/color from 1.12.0 to 1.13.0
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