title: Terraform Cannot locate module locally: Unknown reason
body: <p>i am encountering with the issue  which is terraform cant not locate the module locally.  I really appreciate your advise. Thanks in advance.</p>
  <p>Error: <code>#Warning:(7, 1) Cannot locate module locally: Unknown reason</code></p>
  <h1>project structure</h1>
  <p><a href="https://i.stack.imgur.com/zTyri.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zTyri.png" alt="enter image description here" /></a></p>
  <pre><code>#The module is called in the &quot;main.tf&quot; which is located env_prod dir
  module &quot;az_resource_groups&quot; {
    source=&quot;../module/az_resource_groups&quot;
    context_object  = local.context_object 
    resource_groups = var.resource_groups  
    tags            = var.tags
  }
  
  </code></pre>