Ok, so I started working with 0.3. Until now I had my variables separated logically between a few files and they also have hierarchy to them.
Now I saw that unless I specify their values in terraform.tfvars (or some other file) it asks me for all the variable values (or keep defaults).
Is there a way to tell terraform to read from multiple var files? perhaps it's solvable with modules?
Let's say I have two sets of variables. Global vars (for example AWS keys) and infrastructure vars (like dns_name of a web server). I want to be able to hold one "global" var file and "use" it (even if it's linking it like i'm doing today) to all my infrastructures (in each one i have the infrastructure specific variables).
Is this possible? (notice that I don't want the root module to pass parameters to child modules, I want the child modules to be able to read from another file completely , or just have terraform be able to read from more than one file).
Hope it was clear.
Ron