Very neat and clear explanation. Sir kindly please make a session on nested modules and how can we access/read the variable input/output values from one module to another. It will be a great great help for those who are struggling with terraform like me😄. Thanks in advance!!
Hi Rahul, I created everything step by step but some where I missed something I guess I am able to to apply, terraform apply but "No changes. Your infrastructure matches the configuration." getting. If someone could help me would be great helpful.
I have question regarding while creating private module it is necessary to specify transform version. If we specify transform version again module what we are used with another provider has some compatibility issue what need to done. Thank your for this Terraform video series.
hi rahul , we have prebuilt modules in hashicorp , like vpc module , there are public and private subnets default in vpc module, now if you want to ignore or you dont want to create private subnets how to do it ?
Hi Rahul, Can you suggest how we can prevent or safe to existing resources in AWS which may or may note created from terraform to delete or destroy or replaced when we reuse modules to create new resources like suppose we have 100+ ec2 and we want to provision via ec2 modules and run terraform plan and apply then previous one will not impact /delete/replaced. Appreciate for you suggestions.
The goal of modules is DRY principle, but here module-1 and module-2 are exactly the same leading to code duplication. can't we use only one module and customize the module-1 and module-2 as variables?
Hi Rahul, Love your work! However, sometimes you need to give another example for macOS users who rely on amazon Linux. For example, it failed to load up the website and I found it was because of the Ubuntu commands in the user_data. Also in the provisioners, mac users need to write ec2-user in the connections block but again that was not mentioned had to figure it out.
Simplified tutorial as always , however appreciate if you could be help me on one small issue :) While creating this , its throwing this error - "creating Security Group (sg1): InvalidGroup.Duplicate: The security group 'sg1' already exists for VPC 'vpc-0a6bfddfe1c57ec20'" . Which makes sense as module1 created the same security group . So was thinking whats the workaround for this incase I dont like to crease seperate security groups for each module . Cheers !
Well module 2 was just an thought which i mentioned in the session but if you understand the concept of modules then it would not be hard for you to implement multiple modules
Yes you can use it both together. But it is hard to write down everything here in comments. But I would recommend you to combine both the examples which I have uploaded on TH-cam for module and workspace
I hope somebody can help me to solve this issue and understand how to implement the best approach. I have a number of situations where I need to retry a task n-times if it fails. My ask is, I need help writing a Terraform module to monitor an azure task which is to restart it in case it encounters an exception. retry logic). If an exception is thrown, the task should be retried up to the max-retry count.
Rahul, all ur terraform series are so good except this one on modules ! why because the test case used here to explain the theory part is different compared to the demo one, so this doesn't give a good understanding finally !
@@RahulWagh sorry to say this, but yes examples in this part of modules was not good enough ! But all other videos on this terraform series were really great. tkz.
Thanks for taking time to make such wonderful video tutorials. Highly Appreciated!
Glad you like them!
Very neat and clear explanation. Sir kindly please make a session on nested modules and how can we access/read the variable input/output values from one module to another. It will be a great great help for those who are struggling with terraform like me😄. Thanks in advance!!
Will try
Perfect Explanation in video , Step by step . Many thanks Rahul
module was tough for me but now I got it very clearly thank you sir
You are most welcome
Clear explanation. Is there a complete terraform session with GCP ?
Not yet but soon
Nice explanation. It would be more helpful "How Modules have exposed the output variables" ?
Great suggestion! But at the moment i can not edit the video after publishing but surely update in my guide
Hi Rahul, I created everything step by step but some where I missed something I guess I am able to to apply, terraform apply but "No changes. Your infrastructure matches the configuration." getting. If someone could help me would be great helpful.
I have question regarding while creating private module it is necessary to specify transform version. If we specify transform version again module what we are used with another provider has some compatibility issue what need to done. Thank your for this Terraform video series.
hi rahul , we have prebuilt modules in hashicorp , like vpc module , there are public and private subnets default in vpc module, now if you want to ignore or you dont want to create private subnets how to do it ?
Hi Rahul,
Can you suggest how we can prevent or safe to existing resources in AWS which may or may note created from terraform to delete or destroy or replaced when we reuse modules to create new resources like suppose we have 100+ ec2 and we want to provision via ec2 modules and run terraform plan and apply then previous one will not impact /delete/replaced.
Appreciate for you suggestions.
Best explanation...
Good work Bro
Thank you so much 🙂
Cool session 🎉🎉
You are welcome
Thanks for your time
You are welcome
The goal of modules is DRY principle, but here module-1 and module-2 are exactly the same leading to code duplication. can't we use only one module and customize the module-1 and module-2 as variables?
hi Rahul , thanks for your hardwor. how to deside sequence of module
Great session Sir
Welcome
You have not provided the code repo link, please provide the github repo link for code
it was crisp and precise video
You are welcome
@@RahulWagh bhai please provide the github repo of your code discussed in this video
very good explanation it is easy way to understand keeep ....... thanks
Thanks for liking
Hi Rahul, Love your work! However, sometimes you need to give another example for macOS users who rely on amazon Linux. For example, it failed to load up the website and I found it was because of the Ubuntu commands in the user_data. Also in the provisioners, mac users need to write ec2-user in the connections block but again that was not mentioned had to figure it out.
You have not explained what is in variables.tf , outputs.tf file. If they don't contain anything please mention. Your web-page can explain that too.
Thanks a lot for wonderful video very much helpful for new learner’s 👌👌
Neat and clear explanation. Could you please prepare video on plumini IAC as well.
Will try
thank you for your video series. well explained
You are welcome
sir we can we install apache from instance without bash script ?
I do not think so you need to have script if you want to install apache on instance
Simplified tutorial as always , however appreciate if you could be help me on one small issue :)
While creating this , its throwing this error - "creating Security Group (sg1): InvalidGroup.Duplicate: The security group 'sg1' already exists for VPC 'vpc-0a6bfddfe1c57ec20'" .
Which makes sense as module1 created the same security group . So was thinking whats the workaround for this incase I dont like to crease seperate security groups for each module . Cheers !
So easily explained..nice video
Thank you so much 🙂
Sir how can we state count here example I want to launch module 1 with 3 instances can I do it?
Hi Rahul, Can you kindly make few videos on ‘CDKTF’ using TypeScript language
Surely, i will add into my list of todo
Good explanation sir
Keep watching
Thanks for creating an amazing video and keen to know what command did you use to reduce the display path. (check on this state 13:00)
export PS1=“$ “
nice super explanation keep it up bro
please share more this kind of videos
thankq bro
Sure keep following
Great sir, As usual your videos are good to learn
Please upload videos for Jenkins pipeline rollback
Surely it will be there in upcoming weeks
Sir, I didn't understand, i.e., I didn't find anything like module 2 calling module 1
Well module 2 was just an thought which i mentioned in the session but if you understand the concept of modules then it would not be hard for you to implement multiple modules
could you please share every file which you used as in my lab showing error of duplicate error fo aws_key , vpc, Duplicate: The security group.
if i convert my existing monolith to module, will my exiting infra gets destroy?
I think it will quite a lot of things, probably you need to carefully handle your terraform state file to do such type of migration
Can u explain on self link in terraform
Amazing!
Super Session
You welcome
👏👏👏👏🙌 thank you so much brother
You welcome bro
Can we use workspace and module together in terraform? if yes then how?
@Rahul Wagh , please reply
Yes you can use it both together. But it is hard to write down everything here in comments. But I would recommend you to combine both the examples which I have uploaded on TH-cam for module and workspace
@@RahulWagh thank you responce. I just now tested and it's worked. Your videos are awesome. It' cleared lots of my doubts.. keep posting videos
@@mannukewat8727 Glad it helped you to learn terraform
How to create nested loops in terraform
There is loop lab session on my channel
@@RahulWagh thanks will check it out
where is the code git repo?
Super sir....pls make a video on jenkins terraform docker kubernetes git integration
It’s on my list
Instead of using 2 modules you cloud have used variables with single module, which is the ideal way.
bhai you are awesome
good to know
I hope somebody can help me to solve this issue and understand how to implement the best approach. I have a number of situations where I need to retry a task n-times if it fails.
My ask is, I need help writing a Terraform module to monitor an azure task which is to restart it in case it encounters an exception. retry logic). If an exception is thrown, the task should be retried up to the max-retry count.
nigerian
Rahul, all ur terraform series are so good except this one on modules !
why because the test case used here to explain the theory part is different compared to the demo one, so this doesn't give a good understanding finally !
thanks for feed back but let me ask you a question you being a honest viewer - do you feel example is not good enough if we discard the theory part?
@@RahulWagh sorry to say this, but yes examples in this part of modules was not good enough !
But all other videos on this terraform series were really great. tkz.
Point taken
❤❤❤❤❤❤❤❤ hurry
Enjoy it there are more on the channel
Thanks for valuable content.
Great explanation, I love it.
Glad to hear it!