title: How to split a terraform file (main.tf) in several files (No Modules)?
body: <p>I have a GCP infrastructure deployed through Terraform: buckets, service accounts, Compute Engines, VPC, cloud SQL, BigTable, BigQuery, Composer, etc.</p>
  
  <p>Terraform v0.11.10
  Provider "google" (2.15.0)</p>
  
  <p>Recently the client asked me to split our only one terraform file (e.g. main.tf) in several  files. E.g: One files for Buckets, other for Service Accounts, other for Database Services, etc.</p>
  
  <p>I only have one terraform state file located in a GCP bucket.</p>
  
  <p>How could I do it with the lowest impact ? What about with the terraform state ? (Will there also be also multiples state files ? Or Is the idea to keep only one TF file, even if we split the code out ?)</p>
  
  <p><strong>NOTE</strong>: This has nothing to do with Terraform modules, it's just about dividing a single terraform file (.tf) into several files (.tf)</p>
  
  <p>Thanks in advance!</p>