starting host-side gRPC server extremely slow #1578
-
It's taking 9 minutes to run tflint against our small sized terraform. When I run
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
It may be because modules have been expanded since v0.42. Until now, only 1 module was inspected for the following config, but from v0.42, 10 modules will be inspected. module "aws_instance" {
count = 10
} In the module inspection, TFLint starts a gRPC server for each module, so such logs may appear. Please tell me about the following:
|
Beta Was this translation helpful? Give feedback.
-
We noticed that Terraform ruleset v0.2.1 has some performance issues. You may be affected by this. See also terraform-linters/tflint-ruleset-terraform#49. This will be fixed in the next version. Current workaround is to downgrade to v0.1.1. |
Beta Was this translation helpful? Give feedback.
-
Hey @christiansalway1 I am facing similar issue with Tflint as shown in the last two lines in your screenshot. Unknown value found in ../..modules.... |
Beta Was this translation helpful? Give feedback.
We noticed that Terraform ruleset v0.2.1 has some performance issues. You may be affected by this. See also terraform-linters/tflint-ruleset-terraform#49.
This will be fixed in the next version. Current workaround is to downgrade to v0.1.1.