Skip to content

Releases: terraform-linters/tflint

v0.29.0

05 Jun 13:33
Compare
Choose a tag to compare

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

05 May 07:55
Compare
Choose a tag to compare

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

25 Apr 07:36
Compare
Choose a tag to compare

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

18 Apr 07:07
Compare
Choose a tag to compare

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.

Breaking Changes

  • #1096 #1099: build(deps): Bump github.com/hashicorp/terraform from 0.14.9 to 0.15.0

Chores

v0.26.0

04 Apr 09:44
Compare
Choose a tag to compare

0.26.0 (2021-04-04)

GPG key ID: 8CE69160EB3F2FE9

Enhancements

BugFixes

Chores

  • #1077: build(deps): Bump github.com/google/go-cmp from 0.5.4 to 0.5.5
  • #1081 #1091: build(deps): Bump github.com/hashicorp/terraform from 0.14.7 to 0.14.9
  • #1082: build(deps): Bump github.com/hashicorp/hcl/v2 from 2.9.0 to 2.9.1
  • #1086: update dockerfile to use alpine 3.13 (@chenrui333)
  • #1087: update dependabot to manage docker deps (@chenrui333)
  • #1088: build(deps): Bump github.com/zclconf/go-cty from 1.8.0 to 1.8.1
  • #1089: build(deps): Bump github.com/jessevdk/go-flags from 1.4.0 to 1.5.0

v0.25.0

06 Mar 15:03
Compare
Choose a tag to compare

0.25.0 (2021-03-06)

GPG key ID: 8CE69160EB3F2FE9

Enhancements

BugFixes

Chores

  • #1057: add stargazers chart (@chenrui333)
  • #1058 #1064: build(deps): Bump github.com/hashicorp/terraform from 0.14.5 to 0.14.7
  • #1059: build(deps): Bump actions/cache from v2.1.3 to v2.1.4
  • #1060: docker: remove unused build tools (@pujan14)
  • #1062 #1073: chore: update go to v1.16 (@chenrui333)
  • #1065: build(deps): Bump github.com/golang/mock from 1.4.4 to 1.5.0
  • #1071: terraform_naming_convention: test with count = 0 (@bendrucker)
  • #1074: build(deps): Bump github.com/hashicorp/hcl/v2 from 2.8.2 to 2.9.0
  • #1075: build(deps): Bump github.com/zclconf/go-cty from 1.7.1 to 1.8.0

v0.24.1

01 Feb 17:37
Compare
Choose a tag to compare

0.24.1 (2021-02-02)

GPG key ID: 8CE69160EB3F2FE9

BugFixes

v0.24.0

31 Jan 14:04
Compare
Choose a tag to compare

0.24.0 (2021-01-31)

GPG key ID: 8CE69160EB3F2FE9

This release fixes some bugs about the plugin system. For this update, the plugin must be built with tflint-plugin-sdk v0.8.0 to work with TFLint v0.24.0. For details, please see the CHANGELOG of tflint-plugin-sdk.

Breaking Changes

  • #1052: Bump tflint-plugin-sdk and bundled plugins (@wata727)
    • This change breaks plugin API backward compatibility. In order for plugins to work against v0.24.0, you need to build with tflint-plugin-sdk v0.8.0.

Changes

BugFixes

Chores

  • #1034: build(deps): Bump github.com/hashicorp/hcl/v2 from 2.8.1 to 2.8.2
  • #1035 #1044: build(deps): Bump github.com/hashicorp/terraform from 0.14.3 to 0.14.5
  • #1046: go: cache builds (@bendrucker)
  • #1047: add module/build caching to e2e + gen (@bendrucker)

v0.23.1

10 Jan 16:53
Compare
Choose a tag to compare

0.23.1 (2021-01-11)

GPG key ID: 8CE69160EB3F2FE9

BugFixes

v0.23.0

03 Jan 16:05
Compare
Choose a tag to compare

0.23.0 (2021-01-03)

This release changes the AWS rules implementation into the AWS ruleset plugin. As a result, there are breaking changes to the config for deep checking. If you are using this feature, please declare the plugin settings in .tflint.hcl as follows. See the tflint-ruleset-aws plugin configurations for details.

plugin "aws" {
  enabled = true
  deep_check = true

  // Write credentials here...
}

For backward compatibility, The AWS ruleset plugin is bundled with the binary. So you can still use AWS rules without installing the plugin separetely. The plugin is automatically enabled if there are AWS resources in your Terraform configuration, but it can also be turned on explicitly. See #1009 for details.

GPG key ID: 8CE69160EB3F2FE9

Breaking Changes

  • #1009: Switch AWS rules implementation to the tflint-ruleset-aws plugin (@wata727)
  • #1023: Remove global deep checking options (@wata727)
    • Remove --deep, --aws-access-key, --aws-secret-key, --aws-profile, --aws-creds-file, and --aws-region CLI flags. Please configure these via .tflint.hcl file.
    • Remove global deep_check and aws_credentials configs from .tflint.hcl. Please configure these in plugin blocks.
  • #1026: Bump tflint-plugin-sdk and bundled plugins (@wata727)
    • This change breaks plugin API backward compatibility. In order for plugins to work against v0.23.0, you need to build with tflint-plugin-sdk v0.7.0.

Enhancements

BugFixes

  • #1019: tflint: Add workaround to get the range of configs.mergeBody (@wata727)
  • #1020: tflint: Skip walking expressions of merged bodies (@wata727)

Chores

  • #1010: build(deps): Bump github.com/hashicorp/hcl/v2 from 2.8.0 to 2.8.1
  • #1011: build(deps): Bump github.com/zclconf/go-cty from 1.7.0 to 1.7.1
  • #1013: build(deps): Bump github.com/hashicorp/terraform from 0.14.2 to 0.14.3
  • #1015: docs: add homebrew badge (@chenrui333)
  • #1018: Tweaks E2E testing (@wata727)
  • #1021: deps: match afero version to terraform (@bendrucker)
  • #1024: Cleanup AWS relevant implementations (@wata727)
  • #1025: Revise documentation (@wata727)