title: Can I use more than one variables.tf file in Terraform?
body: <p>I have declared all of my variables inside the single variables.tf file .</p>
  
  <p>But I want to fetch the AWS AMI ids dynamically.</p>
  
  <p>So, I am trying to create a second variables.tf file (variables-amis.tf) dynamically via a Python script that uses Boto to fetch the latest AMI ids based on a name tag.</p>
  
  <p>As I have read in the documentation, Terraform will use every <code>.tf</code> file that will find in the working path.</p>
  
  <p>Can I break the variables file into smaller ones?</p>
  
  <p>Am I over engineering in some way? Is there a simple and more elegant way to go?</p>