title: how do you test terraform modules locally without pushing to remote?
body: <p>some issues with tf modules only present themselves at runtime (terraform apply)</p>
  
  <p>I have my modules in git and use tags for versioning</p>
  
  <p>how do you test tf modules without pushing to remote? meaning if I edit a module I want to test it first before pushing to remote and tagging.</p>
  
  <p>I can pull down the tf module locally and reference it via file system path instead of git remote in <code>source</code> but that is clunky.</p>
  
  <p>Right now I do this:</p>
  
  <ol>
  <li>clone tf module repo</li>
  <li>create another local folder for testing the module</li>
  <li>create a tf file in that other folder that references the module via
  <code>source = "../my-module"</code></li>
  <li>terraform apply the module to test before commit and tagging the
  module to remote</li>
  </ol>
  
  <p>Is there a tf feature for testing a module that im not using? ideally you would clone the tf module's repo and that repo would already have a "test" you could run that is setup to ref the module locally.</p>