-
Notifications
You must be signed in to change notification settings - Fork 508
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Terrascan not able to read modules within a subdirectory #600
Comments
Hello, any update |
@jlunaq is that module (inside the subdirectory) being consumed by the root directory module ? |
Yep, sorry I forgot to mention that. From the root module I am consuming the other module like this.
Note that I'm using a relative path |
I'm having the same issues I think where the root module is consuming child module from remote sources
|
terrascan v1.3.3
MacOS Catalina 10.15.7
Hey there ,
I'm currently working with terraform modules hosted on github, I found that terrascan is able to read the modules when they are in the root directory.
However I found an issue with a module which is in a subdirectory, like this:
source = "git@github.com:company/module.git//modules/base?ref=v2.0.0"
In this particular case is where I'm getting this error
<nil>: Failed to read module directory; Module directory /Users/jluna/my-project/git@github.com:company/module.git/modules/roles does not exist or cannot be read.
Thanks in advance
The text was updated successfully, but these errors were encountered: