Closed suzuki-shunsuke closed 3 years ago
Thank you for reporting this. This bug is fixed in tflint-ruleset-aws v0.2.1 (TFLint v0.24.1 includes this plugin).
This problem was caused by https://github.com/terraform-linters/tflint/pull/1043. If you are interested, check PRs which is linked to the issue :)
When I upgrade tflint from v0.23.1 to v0.24.0, an error about
aws_instance_previous_type
occurs.main.tf
.tflint.hcl
But if I remove the above configuration about
aws_instance_previous_type
, it seems thataws_instance_previous_type
works.This error doesn't occur when I use tflint v0.23.1.
Version
debug log
Note
I know there are breaking changes between v0.23.1 and v0.24.0. I read the release note of v0.24.0, but I can't find the change related to this issue.
https://github.com/terraform-linters/tflint/releases/tag/v0.24.0