Skip to content

Releases: terraform-linters/tflint

v0.36.0

05 May 09:10
Compare
Choose a tag to compare

0.36.0 (2022-05-05)

GPG key ID: 8CE69160EB3F2FE9

Enhancements

Plugin API Changes

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

27 Mar 10:37
Compare
Choose a tag to compare

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
  • #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, and range fields to errors in JSON formatter
    • Add tflint-errors driver in SARIF formatter

BugFixes

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

24 Dec 15:23
Compare
Choose a tag to compare

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

13 Dec 07:24
Compare
Choose a tag to compare

0.34.0 (2021-12-13)

GPG key ID: 8CE69160EB3F2FE9

Breaking Changes

  • #1276: terraform: Add support for Terraform v1.1 syntax (@wata727)

v0.33.2

07 Dec 15:15
Compare
Choose a tag to compare

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

31 Oct 16:05
Compare
Choose a tag to compare

0.33.1 (2021-11-01)

GPG key ID: 8CE69160EB3F2FE9

BugFixes

  • #1240: formatter: Fix an edge case for SARIF format (@kadrach)
  • #1243: tflint: Inherit config when plugins are enabled from CLI (@wata727)

v0.33.0

14 Oct 15:14
Compare
Choose a tag to compare

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

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

12 Sep 08:43
Compare
Choose a tag to compare

0.32.1 (2021-09-12)

GPG key ID: 8CE69160EB3F2FE9

BugFixes

  • #1218: build: Update GoReleaser version (@wata727)
    • v0.32.0 release doesn't include darwin/arm64 build. This change fixes the issue.

v0.32.0

11 Sep 16:20
Compare
Choose a tag to compare

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

v0.31.0

08 Aug 08:39
Compare
Choose a tag to compare

0.31.0 (2021-08-08)

GPG key ID: 8CE69160EB3F2FE9

Enhancements

Changes

BugFixes

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