title: Terraform folder structure
body: <p>I am new to terraform, moving from cloudformation and need a help in folder structure. I am creating bunch of aws services and have the folders structured as below. Is this the right way?</p>
  <pre><code>Development
       |
       services
           |
          lambda_function
            |
            main.tf
            vars.tf
            output.tf
          ecs
            |
            main.tf
            vars.tf
            output.tf
  </code></pre>
  <p>Question is, if we import existing VPC information, should it be in each layers? like a separate tf? or part of main.tf. There are many services who having the folder structure will help rather 3000 lines of single main.tf. Thanks</p>