Skip to content

Releases: terraform-linters/tflint

v0.18.0

19 Jul 14:42

Choose a tag to compare

0.18.0 (2020-07-19)

This release adds Backend() API for accessing the Terraform backend configuration. If you want to use the API, the plugin must be built with tflint-plugin-sdk v0.3.0. For details, please see the CHANGELOG of tflint-plugin-sdk.

GPG key ID: 8CE69160EB3F2FE9

Breaking Changes

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

Enhancements

  • #838: plugin: Add Backend() to plugin server (@pd)
  • #844: Add --loglevel option (@wata727)
  • #846: Bump terraform-provider-aws to v2.70.0 from v2.68.0 (@wata727)

BugFixes

  • #840: tflint: Fix module resolution when terraform init is invoked from another directory (@mkielar)

Chores

  • #830: Bump github.com/spf13/afero from 1.3.0 to 1.3.1
  • #847: Bump github.com/aws/aws-sdk-go from 1.32.12 to 1.33.7

v0.17.0

27 Jun 17:26

Choose a tag to compare

0.17.0 (2020-06-28)

This release contains several improvements for plugins. In order to take advantage of the improved features, the plugin must be built with tflint-plugin-sdk v0.2.0. For details, please see the CHANGELOG of tflint-plugin-sdk.

GPG key ID: 8CE69160EB3F2FE9

Breaking Changes

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

Enhancements

Changes

  • #775: plugin: Support text-based expression sending and receiving on the server (@wata727)
  • #785: tflint: Do not walk resource attributes if the resource is not created (@wata727)
  • #797: plugin: Allow to omit metadata expr on EmitIssue (@wata727)

Chores

  • #792: Bump github.com/hashicorp/hcl/v2 from 2.5.1 to 2.6.0
  • #793: Bump github.com/hashicorp/aws-sdk-go-base from 0.4.0 to 0.5.0
  • #794: Bump github.com/hashicorp/hcl/v2 from 2.5.1 to 2.6.0 in /tools
  • #799: Bump github.com/zclconf/go-cty from 1.4.2 to 1.5.0
  • #803 #809: awsrules: add tags package with generator (@bendrucker)
  • #805 #818 #825: Bump github.com/aws/aws-sdk-go from 1.31.7 to 1.32.11
  • #806: Replacing loadConfigFromFile return func by cfg variable (@cedarkuo)
  • #811: Bump github.com/hashicorp/terraform-plugin-sdk from 1.13.1 to 1.14.0 in /tools
  • #812: Bump github.com/google/go-cmp from 0.4.1 to 0.5.0
  • #813: Bump github.com/hashicorp/go-version from 1.2.0 to 1.2.1
  • #815: Bump github.com/spf13/afero from 1.2.2 to 1.3.0
  • #819: Move tools packages into packages they are responsible for generating (@bendrucker)
  • #820: readme: replace wget w/ curl in macOS install example (@bendrucker)
  • #821 #822: chore(deps): bump terraform to v0.12.28 (@chenrui333)
  • #824: Create Dependabot config file
  • #826: Bump github.com/mattn/go-colorable from 0.1.6 to 0.1.7

v0.16.2

06 Jun 19:15

Choose a tag to compare

0.16.2 (2020-06-06)

GPG key ID: 8CE69160EB3F2FE9

Enhancements

  • #784: add terraform_deprecated_index (disallows foo.0) (@bendrucker)
  • #787: Change the plugins dir with TFLINT_PLUGIN_DIR environment variable (@wata727)
  • #789: Allow no extensions on windows (@jpreese)
  • #790: Bump terraform-provider-aws to v2.65.0 from v2.62.0 (@wata727)

Chores

  • #767: terraform_workspace_remote: document disabling with local execution (@bendrucker)
  • #772: Bump tflint-plugin-sdk to v0.1.1 from v0.1.0 (@wata727)
  • #773: Bump github.com/hashicorp/terraform-plugin-sdk from 1.12.0 to 1.13.0 in /tools
  • #774: Bump github.com/aws/aws-sdk-go from 1.30.29 to 1.31.4
  • #776: Bump tf to v0.12.26 (@chenrui333)
  • #777: Update install linux script (@cedarkuo)
  • #779: Bump github.com/aws/aws-sdk-go from 1.31.4 to 1.31.7
  • #780: Bump github.com/zclconf/go-cty from 1.4.1 to 1.4.2
  • #782: Update extend.md (@jpreese)

v0.16.1

21 May 14:34

Choose a tag to compare

0.16.1 (2020-05-21)

GPG key ID: 8CE69160EB3F2FE9

Enhancements

BugFixes

Chores

  • #753: Bump go to 1.14.3 and alpine to 3.11 (@chenrui333)
  • #754: Add support TFLINT_VERSION environment variable to installation script (@wata727)
  • #755: Mention about other providers support (@wata727)
  • #756: Bump github.com/google/go-cmp from 0.4.0 to 0.4.1
  • #757: Bump github.com/hashicorp/hcl/v2 from 2.5.0 to 2.5.1
  • #758: Bump github.com/aws/aws-sdk-go from 1.30.24 to 1.30.29

v0.16.0

16 May 08:53

Choose a tag to compare

0.16.0 (2020-05-16)

In this release, some great Terraform rules are added by great contributors! Please note that many rules are not enabled by default. You need to set it appropriately according to your policy.

The naming convention rules have been merged into the terraform_naming_convetion rule, so if you are using the terraform_dash_in_* rules you will need to change your configuration. See the documentation for details.

GPG key ID: 8CE69160EB3F2FE9

Breaking Changes

  • #737: Remove terraform_dash_in_* rules (@wata727)
    • The terraform_dash_in_data_source_name, terraform_dash_in_module_name, terraform_dash_in_output_name, and terraform_dash_in_resource_name rules have been removed. Use the terraform_naming_convention rule instead.

Enhancements

BugFixes

Chores

  • #732: Copy edits for rules docs (@bendrucker)
  • #740: testing: compare Rule types and ignore struct fields (@bendrucker)
  • #743: Split runner file into multiple files (@wata727)
  • #746: Bump github.com/aws/aws-sdk-go from 1.30.14 to 1.30.24
  • #747: Bump github.com/hashicorp/hcl/v2 from 2.3.0 to 2.5.0
  • #749: Bump github.com/hashicorp/terraform-plugin-sdk from 1.10.0 to 1.12.0 in /tools
  • #750: Bump tf to v0.12.25 (@chenrui333)
  • #751: Bump github.com/hashicorp/hcl/v2 from 2.3.0 to 2.5.1 in /tools

v0.15.5

25 Apr 17:52

Choose a tag to compare

0.15.5 (2020-04-25)

GPG key ID: 8CE69160EB3F2FE9

Enhancements

  • #721: Add a rule to enforce Terraform types for variables (@mveitas)
  • #725: Adding rule for terraform_required_version (@mveitas)
  • #729: Bump terraform-provider-aws to v2.59.0 from v2.56.0 (@wata727)

BugFixes

  • #728: Allow empty string as a valid value of dynamodb table stream view type (@wata727)

Chores

  • #707: Bump github.com/hashicorp/go-plugin from 1.2.0 to 1.2.2
  • #727: Bump github.com/hashicorp/terraform-plugin-sdk from 1.9.0 to 1.10.0 in /tools
  • #730: Bump github.com/aws/aws-sdk-go from 1.30.3 to 1.30.14

v0.15.4

04 Apr 13:07

Choose a tag to compare

0.15.4 (2020-04-04)

GPG key ID: 8CE69160EB3F2FE9

Enhancements

  • #685: Add dash checks for data sources and modules (@gkze)
  • #702: Bump terraform-aws-provider to v2.56.0 from v2.54.0 (@wata727)

BugFixes

Chores

  • #684: Automate homebrew formula upgrade process (@chenrui333)
  • #686: Fixes the example of excluding resource types (@bwhaley)
  • #690: Bump github.com/hashicorp/terraform-plugin-sdk from 1.8.0 to 1.9.0 in /tools
  • #699: Bump github.com/aws/aws-sdk-go from 1.29.29 to 1.30.3

v0.15.3

21 Mar 14:48

Choose a tag to compare

0.15.3 (2020-03-21)

GPG key ID: 8CE69160EB3F2FE9

Enhancements

  • #676: Bump terraform to v0.12.24 (@chenrui333)
  • #681: Bump terraform-provider-aws to v2.54.0 from v2.53.0 (@wata727)
  • #682: Bump github.com/aws/aws-sdk-go from 1.29.24 to 1.29.29

BugFixes

  • #670: Adds support for aws_autoscaling_group tag blocks and tags attributes (@bwhaley)
  • #679: Add bucket-owner-full-control to allowed S3 ACLs (@sds)
  • #680: Add bucket-owner-read to allowed S3 ACLs (@wata727)

Chores

  • #664: Use checkout action v2 (@chenrui333)
  • #671: Bump github.com/golang/mock from 1.4.1 to 1.4.3
  • #675: Bump github.com/hashicorp/go-plugin from 1.1.0 to 1.2.0

v0.15.2

14 Mar 14:02

Choose a tag to compare

0.15.2 (2020-03-14)

GPG key ID: 8CE69160EB3F2FE9

Enhancements

  • #650: Bump github.com/zclconf/go-cty from 1.3.0 to 1.3.1
  • #653: Bump terraform to v0.12.23 (@chenrui333)
  • #665: Bump github.com/aws/aws-sdk-go from 1.28.9 to 1.29.24
  • #667: Bump terraform-provider-aws to v2.53.0 from v2.50.0 (@wata727)

Chores

  • #647: Bump github.com/hashicorp/go-plugin from 1.0.1 to 1.1.0
  • #649: Bump golang to v1.14 (@chenrui333)
  • #657: Run linters in GitHub Actions (@wata727)
  • #660: Bump github.com/hashicorp/terraform-plugin-sdk from 1.7.0 to 1.8.0 in /tools
  • #666: Add install guide for Windows (choco install) (@aaronsteers)

v0.15.1

01 Mar 15:27

Choose a tag to compare

0.15.1 (2020-03-02)

GPG key ID: 8CE69160EB3F2FE9

BugFixes

  • #645: Emit an issue when there is no tags definition (@wata727)

Chores

  • #630: Bump github.com/zclconf/go-cty from 1.2.1 to 1.3.0
  • #640: Bump github.com/golang/mock from 1.4.0 to 1.4.1
  • #641: Bump github.com/mattn/go-colorable from 0.1.4 to 0.1.6