title: How Do I Apply A Single Terraform Module?
body: <p>I have a single <code>main.tf</code> at the root and different modules under it for different parts of my Azure cloud e.g.</p>
  <pre><code>main.tf
    - apim
    - firewall
    - ftp
    - function
  </code></pre>
  <p>The <code>main.tf</code> passes variable down to the various modules e.g. resource group name or a map of tags.</p>
  <p>During <em>development</em> I have been investigating certain functionality using the portal and I don't have it in terraform yet.</p>
  <p>e.g. working out how best to add a mock service in the web module</p>
  <p>If I now want to update a different module (e.g. update firewall rules) terraform will suggest destroying the added service.</p>
  <p>How can I do <code>terraform plan/apply</code> for just a single module?</p>