v0.23.0
·
892 commits
to master
since this release
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-regionCLI flags. Please configure these via.tflint.hclfile. - Remove global
deep_checkandaws_credentialsconfigs from.tflint.hcl. Please configure these inpluginblocks.
- Remove
- #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
- #986: plugin: Extend runner API for accessing the root provider (@wata727)
- #1003: plugin: Add support for fetching rule config (@wata727)
- #1007: rule: terraform_unused_required_providers (@bendrucker)
- #1008: plugin: Add
IsNullExprAPI (@wata727) - #1017: plugin: Add
FileAPI (@wata727)
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)