You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using #518 as base but adding a module m to m/main.tf. terraform apply works fine and applies all changes, but tflint --recursive --module fails with
tflint --module --recursive
Failed to load configurations; m\main.tf:40,1-11: `m` module is not found. Did you run `terraform init`?; :
Error: `m` module is not found. Did you run `terraform init`?
on m\main.tf line 40, in module "m":
40: module "m" {
Layout on filesystem is
main.tf
m/main.tf
m/main.tf
It seems that everything is fine if I rename the second submodule to something different than m..
Ruleset version is 0.24.3
The text was updated successfully, but these errors were encountered:
This is the intended behavior. The --recursive runs tflint --module on every module, so you need to run terraform init on every module (./, ./m, and ./m/m).
Hi,
using #518 as base but adding a module m to
m/main.tf
.terraform apply
works fine and applies all changes, buttflint --recursive --module
fails withLayout on filesystem is
It seems that everything is fine if I rename the second submodule to something different than
m
..Ruleset version is 0.24.3
The text was updated successfully, but these errors were encountered: