I want to seperate my resources (for each resource one file, or for each variable or for each data …)
How can I include them in my main.tf
?
All files that end .tf
are treated the same in the directory. The naming doesn’t matter. It is just a convention that people use names like main.tf
or variables.tf
. So you can just make more files and put whatever you want in them.
1 Like