Closed kayman-mk closed 1 year ago
Just checked the last releases. Maybe it was introduced with #489 ?
Thank you for reporting this. Probably, this is a bug due to a lack of consideration of provider aliases within modules.
Thanks for the quick fix, @wata727 It's working now as expected.
Hi,
I have a problem with one of the rules:
aws_resource_missing_tags
rule complains about a missing provider, butterraform apply
is able to create everything. So the provider is there. I enabled the debug logs but didn't found anything suspicious.The problem was introduced with an update to the newest version. The last version working on our side is 0.23.1.
OS: Windows and Alpine Linux (Docker) Terraform version: 1.3.2 Tflint version: 0.47 ruleset.aws: 0.24.2
Here is a minimal example:
main.tf
m/main.tf
.tflint.hcl
debug log
Steps to reproduce:
terraform init
tflint --init --config .tflint.hcl
terraform apply
# works finetflint --config .tflint.hcl --module --recursive
# doesn't worktflint --config .tflint.hcl --chdir m
is working.