Skip to content

Releases: terraform-linters/tflint

v0.22.0

10 Dec 05:27
Compare
Choose a tag to compare

0.22.0 (2020-12-09)

This release updates to Terraform 0.14! This adds support for parsing configuration that uses features introduced in Terraform 0.14. See Terraform's changelog for further details.

GPG key ID: 8CE69160EB3F2FE9

Enhancements

BugFixes

  • #998: terraform_required_providers: emit error when only source is specified (@bendrucker)
  • #999: runner: clean Terraform source path for comparison

Chores

  • #988: bump github.com/google/go-cmp from 0.5.3 to 0.5.4
  • #993 #993: Bump github.com/aws/aws-sdk-go from 1.35.35 to 1.36.2
  • #996: bump aws sdk submodule to 1.36.3 (@bmbferreira)
  • #994: Bump github.com/hashicorp/hcl/v2 from 2.7.1 to 2.7.2

v0.21.0

23 Nov 14:44
Compare
Choose a tag to compare

0.21.0 (2020-11-23)

This release adds support for JSON configuration syntax in plugins. For this update, the plugin must be built with tflint-plugin-sdk v0.6.0 to work with TFLint v0.21.0. For details, please see the CHANGELOG of tflint-plugin-sdk.

GPG key ID: 8CE69160EB3F2FE9

Breaking Changes

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

Enhancements

BugFixes

Chores

  • #955 #979: Bump github.com/hashicorp/hcl/v2 from 2.6.0 to 2.7.1
  • #956 #962 #965 #969 #973 #974 #980: Bump github.com/aws/aws-sdk-go from 1.35.7 to 1.35.33
  • #960: Bump github.com/zclconf/go-cty from 1.6.1 to 1.7.0
  • #961: Bump github.com/hashicorp/terraform from 0.13.4 to 0.13.5
  • #964: Bump github.com/fatih/color from 1.9.0 to 1.10.0
  • #966 #970 #978: Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.0.4 to 2.3.0
  • #968: Bump github.com/hashicorp/go-plugin from 1.3.0 to 1.4.0
  • #971: Bump actions/cache from v2.1.2 to v2.1.3
  • #972: Bump github.com/google/go-cmp from 0.5.2 to 0.5.3
  • #977: chore: Allow "latest" as TFLINT_VERSION in the installation script (@wata727)

v0.20.3

18 Oct 14:52
Compare
Choose a tag to compare

0.20.3 (2020-10-18)

GPG key ID: 8CE69160EB3F2FE9

Enhancements

BugFixes

  • #951: missing_tags_rule: Suppress false positives when using dynamic blocks (@wata727)

Chores

  • #932 #940 #945: Bump github.com/aws/aws-sdk-go from 1.34.27 to 1.35.7
  • #938: Bump github.com/mattn/go-colorable from 0.1.7 to 0.1.8
  • #939: Bump github.com/hashicorp/terraform from 0.13.3 to 0.13.4
  • #941: Bump actions/setup-go from v2.1.2 to v2.1.3
  • #944: Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.0.3 to 2.0.4
  • #946: Bump github.com/hashicorp/aws-sdk-go-base from 0.6.0 to 0.7.0
  • #947: Bump github.com/spf13/afero from 1.4.0 to 1.4.1
  • #948: Bump actions/cache from v2.1.1 to v2.1.2

v0.20.2

22 Sep 16:02
Compare
Choose a tag to compare

0.20.2 (2020-09-22)

GPG key ID: 8CE69160EB3F2FE9

Enhancements

BugFixes

  • #920: terraform_required_providers: ignore terraform provider (@bendrucker)

Chores

  • #915 #922: Bump github.com/aws/aws-sdk-go from 1.34.18 to 1.34.27
  • #916 #921: Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.0.1 to 2.0.3
  • #918: Bump tf to v0.13.3 (@chenrui333)
  • #923: Bump github.com/spf13/afero from 1.3.5 to 1.4.0
  • #925: GCP support status is now experimental (@wata727)

v0.20.1

13 Sep 15:09
Compare
Choose a tag to compare

0.20.1 (2020-09-13)

GPG key ID: 8CE69160EB3F2FE9

Chores

0.20.0 (2020-09-13)

This release introduces a new CLI flag --only. This allows you to run the analysis with only certain rules enabled.

Also, this release is built with Go v1.15. As a result, darwin/386 build will no longer available from the release. Due to a release process issue, this release does not include pre-built binaries, so please check v0.20.1.

Breaking Changes

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

Enhancements

Chores

  • #871: chore(deps): bump go to v1.15 (@chenrui333 @bendrucker)
  • #887 #897 #899 #905: Bump github.com/aws/aws-sdk-go from 1.34.5 to 1.34.18
  • #891 #902: chore(deps): terraform 0.13.2 (@chenrui333)
  • #892: update dependabot to include github action dep support (@chenrui333)
  • #893: Bump actions/cache from v1 to v2.1.1
  • #894: Bump actions/setup-go from v1 to v2.1.2
  • #895: Bump github.com/google/go-cmp from 0.5.1 to 0.5.2
  • #900 #906: Bump github.com/zclconf/go-cty from 1.5.1 to 1.6.1
  • #903: Updated comments to reflect true intent of three methods (@ritesh-modi)
  • #907: Bump github.com/spf13/afero from 1.3.4 to 1.3.5
  • #908: Remove replace directive (@jpreese)

v0.19.1

23 Aug 07:25
Compare
Choose a tag to compare

0.19.1 (2020-08-23)

GPG key ID: 8CE69160EB3F2FE9

Enhancements

  • #870: Support custom formats in terraform_naming_convention rule (@angelyan)
  • #885: plugin: Clarify plugin's incompatible API version errors (@wata727)

BugFixes

  • #884: terraform_rules: Add workaround for skipping child modules inspection (@wata727)

v0.19.0

17 Aug 09:41
Compare
Choose a tag to compare

0.19.0 (2020-08-17)

TFLint v0.19 relies on and is compatible with Terraform v0.13! 🎉

This version is also compatible with most Terraform v0.12 configurations without an immediate update to Terraform v0.13. Custom variable validation was officially added in v0.13. Any modules that enabled this featue during the experiment phase must remove the experiment setting to be compatible with Terraform v0.13. Consult the Terraform 0.13.0 changelog for a full list of breaking changes. We recommend all users update when possible.

GPG key ID: 8CE69160EB3F2FE9

Breaking Changes

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

Enhancements

BugFixes

  • #859: standard_module_structure: fix false positives when passing a directory (@bendrucker)

Chores

  • #854 #864 #865 #876: Bump github.com/aws/aws-sdk-go from 1.33.7 to 1.34.5
  • #855: Bump github.com/google/go-cmp from 0.5.0 to 0.5.1
  • #856 #861 #866: Bump github.com/spf13/afero from 1.3.1 to 1.3.4
  • #862: Bump github.com/golang/mock from 1.4.3 to 1.4.4
  • #870: test installation on hashicorp/terraform docker image (@bendrucker)

v0.18.0

19 Jul 14:42
Compare
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
Compare
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
Compare
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)