Describe the bug
Modules from private registries can not be parsed and will be ignored. yor outputs a warning and ignores the module.
To Reproduce
Steps to reproduce the behavior:
Use yor in terraform stack where at least one module is referenced from a private module registry
Make sure to have valid credentials for private registry terraform login some.private.registry
Run yor tag -d . in terraform stack
Yor ignores module and outputs following warning
[WARNING] failed to parse hcl module in directory some.private.registry/namespace/name/aws/some.private.registry/namespace/name/aws because of errors Failed to read module directory: Module directory some.private.registry/namespace/name/aws does not exist or cannot be read.
Expected behavior
Yor parses and tags module.
Desktop:
OS: MacOS
Yor Version: 0.1.151
Additional context
module "example" {
source = "some.private.registry/namespace/name/aws"
version = "1.0.0"
}
Describe the bug Modules from private registries can not be parsed and will be ignored. yor outputs a warning and ignores the module.
To Reproduce Steps to reproduce the behavior:
terraform login some.private.registry
yor tag -d .
in terraform stackExpected behavior Yor parses and tags module.
Desktop:
Additional context