Releases: terraform-linters/tflint
Releases · terraform-linters/tflint
v0.37.0
0.37.0 (2022-05-30)
GPG key ID: 8CE69160EB3F2FE9
Enhancements
- #1401 #1403: terraform: Add support for Terraform v1.2 syntax (@lonegunmanb @wata727)
Chores
- #1378: build(deps): Bump github.com/hashicorp/go-plugin from 1.4.3 to 1.4.4
- #1379: build(deps): Bump docker/metadata-action from 3 to 4
- #1380: build(deps): Bump docker/login-action from 1 to 2
- #1381: build(deps): Bump docker/setup-buildx-action from 1 to 2
- #1382: build(deps): Bump docker/build-push-action from 2 to 3
- #1383: build(deps): Bump docker/setup-qemu-action from 1 to 2
- #1385: Remove a redundant log message (@alexjurkiewicz)
- #1386: build(deps): Bump golangci/golangci-lint-action from 3.1.0 to 3.2.0
- #1387: build(deps): Bump golang from 1.18.1-alpine3.15 to 1.18.2-alpine3.15
- #1389: build(deps): Bump github.com/hashicorp/go-version from 1.4.0 to 1.5.0
- #1390: build(deps): Bump github.com/hashicorp/go-getter from 1.5.11 to 1.6.1
- #1391: build(deps): Bump goreleaser/goreleaser-action from 2 to 3
- #1404: Remove testify (@wata727)
v0.36.2
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
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)