title: Difference between "Importing into module" and "Importing into resource" in terraforn
body: <p>I was reading Terraform's docs and I found these two commands:</p>
  <ul>
  <li><a href="https://www.terraform.io/docs/cli/commands/import.html#example-import-into-resource" rel="nofollow noreferrer">Import into resource</a></li>
  </ul>
  <pre class="lang-sh prettyprint-override"><code>$ terraform import aws_instance.foo i-abcd1234
  </code></pre>
  <ul>
  <li><a href="https://www.terraform.io/docs/cli/commands/import.html#example-import-into-module" rel="nofollow noreferrer">Import into module</a></li>
  </ul>
  <pre class="lang-sh prettyprint-override"><code>$ terraform import module.foo.aws_instance.bar i-abcd1234
  </code></pre>
  <p>So I was wondering what's the practical difference within terraform's state when you execute these two commands.</p>
  <p>Thanks in advance!</p>