How to create terraform modules? - Part 9

Поделиться
HTML-код
  • Опубликовано: 17 янв 2025

Комментарии • 96

  • @prasadrao4840
    @prasadrao4840 2 года назад

    Perfect Explanation in video , Step by step . Many thanks Rahul

  • @azeemqatar2092
    @azeemqatar2092 3 года назад +1

    Thanks for taking time to make such wonderful video tutorials. Highly Appreciated!

  • @AadilRaza-s9k
    @AadilRaza-s9k Год назад +1

    Thanks for your time

  • @clou_booster7487
    @clou_booster7487 2 года назад +1

    Best explanation...
    Good work Bro

    • @RahulWagh
      @RahulWagh  2 года назад

      Thank you so much 🙂

  • @rekhashetty5397
    @rekhashetty5397 2 года назад +1

    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!!

  • @sivarasana3641
    @sivarasana3641 Год назад

    Great session Sir

  • @anithakuruba4673
    @anithakuruba4673 8 месяцев назад +1

    Cool session 🎉🎉

    • @RahulWagh
      @RahulWagh  8 месяцев назад

      You are welcome

  • @rohanrustagi7857
    @rohanrustagi7857 Год назад

    module was tough for me but now I got it very clearly thank you sir

  • @senthilkumar5129
    @senthilkumar5129 2 года назад

    very good explanation it is easy way to understand keeep ....... thanks

  • @MFB7799
    @MFB7799 2 года назад

    Thanks a lot for wonderful video very much helpful for new learner’s 👌👌

  • @vedaanish2015
    @vedaanish2015 2 года назад +2

    Nice explanation. It would be more helpful "How Modules have exposed the output variables" ?

    • @RahulWagh
      @RahulWagh  2 года назад

      Great suggestion! But at the moment i can not edit the video after publishing but surely update in my guide

  • @harishphapale600
    @harishphapale600 8 месяцев назад

    Neat and clear explanation. Could you please prepare video on plumini IAC as well.

  • @somedayitsgonnamakesense
    @somedayitsgonnamakesense 23 дня назад

    can you please link the whole playlist?

  • @janithpanditharathne6196
    @janithpanditharathne6196 2 года назад

    thank you for your video series. well explained

  • @dollyraji2685
    @dollyraji2685 Год назад

    Good explanation sir

  • @chayanchoudhury6041
    @chayanchoudhury6041 3 года назад

    So easily explained..nice video

    • @RahulWagh
      @RahulWagh  2 года назад

      Thank you so much 🙂

  • @ishan_9081
    @ishan_9081 8 месяцев назад

    it was crisp and precise video

    • @RahulWagh
      @RahulWagh  8 месяцев назад

      You are welcome

    • @ishan_9081
      @ishan_9081 7 месяцев назад

      @@RahulWagh bhai please provide the github repo of your code discussed in this video

  • @ishan_9081
    @ishan_9081 8 месяцев назад

    You have not provided the code repo link, please provide the github repo link for code

  • @DG-cd3jb
    @DG-cd3jb Год назад

    Clear explanation. Is there a complete terraform session with GCP ?

  • @knoxkuber
    @knoxkuber Год назад

    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.

  • @KoustubSKulkarni
    @KoustubSKulkarni 22 дня назад

    Hey Rahul, Thanks for such comprehensive tutorial.
    One query: When I did this demo on my machine. It threw few errors like the "duplicatekeypair", "duplicate security group" stating they were already created. I made the names unique and the script worked.
    I am curious on how it worked for you? e=Even though the resource name on both of the module scripts are same in your case. Request you to let me know
    Thanks! Much Appreciated

  • @SinghBalraj102
    @SinghBalraj102 Год назад

    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)

  • @AnkitaTerrafom
    @AnkitaTerrafom 2 года назад +1

    sir we can we install apache from instance without bash script ?

    • @RahulWagh
      @RahulWagh  2 года назад

      I do not think so you need to have script if you want to install apache on instance

  • @prudhviraj7888
    @prudhviraj7888 2 года назад

    👏👏👏👏🙌 thank you so much brother

  • @zerokneospark7363
    @zerokneospark7363 2 месяца назад

    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.

  • @rritsoftwaresolutions9566
    @rritsoftwaresolutions9566 2 года назад

    nice super explanation keep it up bro
    please share more this kind of videos
    thankq bro

  • @Rakesh-fc1wr
    @Rakesh-fc1wr 11 месяцев назад

    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 ?

  • @sandv2902
    @sandv2902 2 года назад

    Sir how can we state count here example I want to launch module 1 with 3 instances can I do it?

  • @ahmedsalahel-din1311
    @ahmedsalahel-din1311 15 дней назад

    Thank you for the video, it really comes in handy
    Could you please share the code architecture for this demo?

  • @sohandogra7185
    @sohandogra7185 3 года назад

    Great sir, As usual your videos are good to learn
    Please upload videos for Jenkins pipeline rollback

    • @RahulWagh
      @RahulWagh  3 года назад

      Surely it will be there in upcoming weeks

  • @santhoshkb0
    @santhoshkb0 7 месяцев назад

    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?

  • @saintr392
    @saintr392 2 года назад

    Can u explain on self link in terraform

  • @sambhajikhune6205
    @sambhajikhune6205 2 года назад

    hi Rahul , thanks for your hardwor. how to deside sequence of module

  • @Kk-rl7nv
    @Kk-rl7nv Год назад

    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.

  • @vishnukr4573
    @vishnukr4573 2 года назад +1

    Sir, I didn't understand, i.e., I didn't find anything like module 2 calling module 1

    • @RahulWagh
      @RahulWagh  2 года назад

      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

  • @arunrajsb1450
    @arunrajsb1450 3 года назад

    if i convert my existing monolith to module, will my exiting infra gets destroy?

    • @RahulWagh
      @RahulWagh  3 года назад +1

      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

  • @prithvi561
    @prithvi561 8 месяцев назад

    where is the code git repo?

  • @zubandesi8052
    @zubandesi8052 2 года назад

    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.

  • @usheeg
    @usheeg Год назад

    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.

  • @mannukewat8727
    @mannukewat8727 2 года назад

    Can we use workspace and module together in terraform? if yes then how?

    • @mannukewat8727
      @mannukewat8727 2 года назад +1

      ​ @Rahul Wagh , please reply

    • @RahulWagh
      @RahulWagh  2 года назад

      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 RUclips for module and workspace

    • @mannukewat8727
      @mannukewat8727 2 года назад

      @@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

    • @RahulWagh
      @RahulWagh  2 года назад

      @@mannukewat8727 Glad it helped you to learn terraform

  • @samyweee2097
    @samyweee2097 2 года назад +1

    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.

  • @eswarteja7064
    @eswarteja7064 Год назад

    Hi Rahul, Can you kindly make few videos on ‘CDKTF’ using TypeScript language

    • @RahulWagh
      @RahulWagh  Год назад

      Surely, i will add into my list of todo

  • @RahulSharmaSingularity
    @RahulSharmaSingularity 8 месяцев назад

    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 !

  • @raja4win
    @raja4win Год назад

    How to create nested loops in terraform

    • @RahulWagh
      @RahulWagh  Год назад +1

      There is loop lab session on my channel

    • @raja4win
      @raja4win Год назад

      @@RahulWagh thanks will check it out

  • @tanveersyed1049
    @tanveersyed1049 3 года назад

    Super sir....pls make a video on jenkins terraform docker kubernetes git integration

  • @vickydops
    @vickydops 3 месяца назад

    Instead of using 2 modules you cloud have used variables with single module, which is the ideal way.

  • @samadhankawade7794
    @samadhankawade7794 Год назад

    Thanks for valuable content.

  • @rajsrsj
    @rajsrsj 2 года назад

    Super Session

  • @mohammedhassainsaitqadri4326
    @mohammedhassainsaitqadri4326 3 года назад

    bhai you are awesome

  • @i-am-oi
    @i-am-oi 2 года назад

    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.

  • @raw_wish
    @raw_wish 2 года назад

    Amazing!

  • @sahadevdahit
    @sahadevdahit 10 месяцев назад

    ❤❤❤❤❤❤❤❤ hurry

    • @RahulWagh
      @RahulWagh  10 месяцев назад

      Enjoy it there are more on the channel

  • @subanana
    @subanana 3 года назад

    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
      @RahulWagh  3 года назад

      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?

    • @subanana
      @subanana 3 года назад

      @@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.

    • @RahulWagh
      @RahulWagh  3 года назад

      Point taken

  • @adilmehmoodbutt007
    @adilmehmoodbutt007 2 года назад

    Great explanation, I love it.