title: How to create a resource group that can be shared between modules in terraform?
body: <p>What is the proper way to create a resource group in terraform for azure that can be shared across different modules? I've been banging my head against this for a while and it's not working. As you can see in this image. I have a resource group in a separate folder. In my main.tf file i load the modules appservice and cosmosdb. I cant seem to figure out how to make the appservice and cosmosdb tf files reference the resource group here that is in this location. How is this done? Any suggestions would be greatly appreciated. Thank you.</p>
  <p><a href="https://i.stack.imgur.com/qvsd0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qvsd0.png" alt="enter image description here" /></a></p>