title: Layered deployments with Terraform
body: <p>I am new to Terraform  so not even sure something like this is possible.  As an example, lets say I have a template that deploys an Azure resource group and a key vault in it.  And then lets say I have another template that deploys a virtual machine into the same resource group.  Is it possible to do a destroy with the virtual machine template without destroying the key vault and resource group?  We are trying to compartmentalize the parts of a large solution without having to put it all in a single template and we want to be able to manage each piece separately without affecting other pieces.</p>
  
  <p>On a related note...we are storing state files in an Azure storage account.  If we breakup our deployment into multiple compartmentalized deployments...should each deployment have its own state file or should they all use the same state file? </p>