Ajit thank you so much for the structure I really like the 4th one easy to maintain and upgrade without touching other environments. Looking forward to seeing more videos like this which help us understand the Best terraform practices.
@ajitinamdartech3 ай бұрын
Most welcome
@prasantaroychoudhury635527 күн бұрын
Hi, could you please explain how to set up the terraform project structure that works with terraform test command? The 'tests/' directory seems to only work at the project's root level. How should I organize and test code for individual modules?
@Winner4ever Жыл бұрын
Thanks a lot ,I have been searching for this solution for a while
@ajitinamdartech Жыл бұрын
Hi Sman, glad it was helpful for you. Let me know if you have any video request, I’ll try to accommodate the same.
@bhakta_rg7 ай бұрын
4th architecture makes most sense, else it will be too many state files to manage! Thank you for sharing, liked and subscribed. If you could please make a detailed video on EKS and Codepipeline...thanks
@ajitinamdartech6 ай бұрын
Sure. I'm planning to create a video on the same.
@tarunraj8187 Жыл бұрын
The 4th tier architecture really used very popular cases of project please do one Terraform project it will really helpful to many people to understand easily
@ajitinamdartech Жыл бұрын
Sure Tarun. Thanks for your feedback.
@-XSX- Жыл бұрын
This is really helpful.. We have our infra similar to 3rd dir structure you show, but 2nd and 4th is quite interesting.
@ajitinamdartech Жыл бұрын
Thanks S, glad it was helpful for you!
@rubelrob60395 ай бұрын
for the second folder structure do you have any ci pipelines setup ?
@ajitinamdartech4 ай бұрын
I will create a video for the same
@vinvvinv7460 Жыл бұрын
Hi, can you please make a video & explain step by step the writing/structure of Ansible & Terraform in a simple manner & in layman's terms, like when & where to add spaces, hyphens, what is variable, etc it's a bit confusing.I am not from a programming background hence find it difficult to understand the structure of writing Ansible & Terraform. Please it's a request, do reply
@ajitinamdartech Жыл бұрын
Hi, Sure. I have planned to create an entire series on Terraform in the coming few months. Thanks.
@tomasnobile51818 ай бұрын
Hi! don't you use Terraform workspaces?? Greetings from Argentina
@ajitinamdartech8 ай бұрын
Hello, We can use terraform cloud workspaces with all the mentioned structures. However I’m not a big fan of local workspaces hence didn’t include that. Hope that answers your question.
@nwn722 Жыл бұрын
it is such a drawback which there no standard way to abstractly handle terraform codes. just defining modules is not enough. there should be a way to pass various tfvar files to each module. maintaining all the parameters in a single tfvar file also a not good approach
@ajitinamdartech Жыл бұрын
Hi Nuwan, Thanks for your feedback. I have created this structure after careful consideration of certain parameters and has worked for us in our several enterprise projects. In this video I have just demonstrated the TF structures, obviously there will be ways to pass TF var files to each env and eventually to respective modules. Most of our projects have environment specific separate folders which contain TF var files for that environment only. However, I understand your concerns but I have demonstrated what has worked for us 🙂
@user-wf1fk7sj6c Жыл бұрын
this approach is duplicating parent recourses when terraform plan run.