Day-3 | Terraform Modules | Write your First Module |

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 พ.ย. 2024

ความคิดเห็น • 271

  • @SaiRam-r4p
    @SaiRam-r4p ปีที่แล้ว +42

    I have failed to answer terraform modules questions in couple of interviews. Abhi bro, Now your video made my day better to answer for those questions😎. Thanks is a small word for your efforts, We are simply love you bro😍❣.

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  ปีที่แล้ว +8

      Great 👍 .. Glad that it helped you.

    • @nilavasen8631
      @nilavasen8631 ปีที่แล้ว

      very nice news . Did you able to clear the interview now ?

    • @sireeshadasari2453
      @sireeshadasari2453 ปีที่แล้ว

      Hi,are you getting interview calls these days?

    • @farmingzilla
      @farmingzilla ปีที่แล้ว

      ​@@sireeshadasari2453no

    • @deva_2022
      @deva_2022 ปีที่แล้ว +1

      ​@@AbhishekVeeramallaI am network engineer, having 10 months of experience, I am applying for devops even I am getting regret mails I am not getting shortlisted, 😢how to get job for devops for freshers. I am really worried🥺I am following your video. And learning.

  • @paramveersingh685
    @paramveersingh685 5 หลายเดือนก่อน +7

    To all who are searching for the output after applying: create a output variable file in the root directory and refer to the variable using module.module_name.output_variable_name_in_module.....
    like
    output "public_ip" {
    value = module.ec2_instance.your_output_variable_in_module
    }
    Thanks Abhishek for educating us....

  • @DrayCool-df8kj
    @DrayCool-df8kj 2 หลายเดือนก่อน +2

    After I created my first aws instance with terraform, I felt joy. Thanks to you!

  • @pascaleobiorah5407
    @pascaleobiorah5407 ปีที่แล้ว +6

    Wow! I have had issues understanding this concept of modules practically, even with paid videos. But after watching your Terraform zero-to-hero video for Day 3, the concept of modules became as clear as crystal! Thanks Abhishek...you really can teach! Thank you for the good job you're doing.

  • @proplusgaming3361
    @proplusgaming3361 9 หลายเดือนก่อน +3

    i.m amazwd by the quality and simplicity of your content sir, I'm learning devops from the past 1 year, your channel makes my deevops learning easier

  • @chanakayakamble5746
    @chanakayakamble5746 ปีที่แล้ว +2

    Because of you sir ......i am able to learn terraform in so much detailed ....Thank you so much

  • @manjeshsno596
    @manjeshsno596 ปีที่แล้ว +1

    Thanks allot Sir for your efforts to make us understanding Modules. After watching this videos , i'm able to write my own terraform script for my project just adding the required inputs by reffering the customised modules from our infrastructure team.
    Thank you so much Sir for detailed lecturing.🎉

  • @syedsohel1520
    @syedsohel1520 ปีที่แล้ว +1

    Very clear explanation, thank you so much for bringing this terraform series abhishek.

  • @babatundeoke7574
    @babatundeoke7574 9 วันที่ผ่านมา

    Thank you Abhi. You are my DevOps hero

  • @rajathchikkatursrinivasa1549
    @rajathchikkatursrinivasa1549 ปีที่แล้ว +1

    with watching at 1.5x but great content. anything like this when free is just fabulous. Thanks for creating good tech content.

  • @agun21st
    @agun21st ปีที่แล้ว +1

    I am clear about Terraform Modules. Thanks Abhishek sir.

  • @kundalakshmidevi4449
    @kundalakshmidevi4449 ปีที่แล้ว +1

    Hi Abhishek sir,
    this video made me little confusion but i watched it 2times after that i understand and created terraform project.
    thank you abhi sir.

  • @mohankumarr1432
    @mohankumarr1432 ปีที่แล้ว

    When you start teaching DevOps concept it is very interesting to learn and grab the concepts very easy. You won't believe Abhishek sir, when I start watching your You-tube channel I have got interest in learning DevOps. Thank you Abhishek Sir😊❤

  • @Suniljamjal-u5u
    @Suniljamjal-u5u ปีที่แล้ว +1

    You are making us more educated by give this type contents. Now we will give interview without any fear. We feel more confidante .Me and my Friend always talk about you series we also share and update if someone misses any video, actually we are enjoying your process. Thank you so much😁🤝

  • @priyamsaha8018
    @priyamsaha8018 11 หลายเดือนก่อน +1

    Amazing session! At the end I saw that the output was not present while using terraform module. So, tried to do it from my end. Just in the root main file add below output block - Note: this output variable name should not match with that inside ec2_instance module.
    output "public_ip_address_latest" {
    value = module.ec2_instance.public_ip_address

  • @himms_sharma
    @himms_sharma ปีที่แล้ว +1

    You are doing an amazing job. Thank you from the bottom of my heart.❤

  • @sudheersen8227
    @sudheersen8227 ปีที่แล้ว +2

    ❤❤Pranam Guruji❤❤ this Terraform series is getting more interesting. It was fun reading the modules. After reading the modules everything seemed easy🚀🚀

  • @samahome
    @samahome ปีที่แล้ว +1

    excellent explanation of modules concept with example

  • @jaduatv9092
    @jaduatv9092 ปีที่แล้ว +3

    The way you are managing your schedules for videos with your work is amazing. Nd it's obvious that to deliver such an amazing Content you must be going through learning process from various sources. Hats off to you Bhaiya!!
    pick up any video from your channel, and boom. Tysm for such a great content!!

  • @nareshv7797
    @nareshv7797 ปีที่แล้ว

    Wow ... finally got a worthy tutorial to learn terraform...
    Thanks for dedicating your time and effort

  • @light-sg5sl
    @light-sg5sl ปีที่แล้ว +1

    Ur content is next level
    Thank you sir🙏

  • @niksojitra
    @niksojitra ปีที่แล้ว +3

    You did a great job. I just wanted to check if you have included the important part in your upcoming training videos on how to avoid destroying previously created resources when adding or modifying resources.

  • @raviteja2756
    @raviteja2756 ปีที่แล้ว +1

    Exceptional training 🙏🏻🙏🏻

  • @jaswanth_kumar_k
    @jaswanth_kumar_k ปีที่แล้ว

    very much addicted to your videos , learning a lot from this. Please do not stop your contributions at any cost 😀

  • @nageshgkrishna1063
    @nageshgkrishna1063 ปีที่แล้ว

    I addicted to your Devops classes ❤ if I have 10m time my hand take me to TH-cam and typing Abhishek veeramalla

  • @shyamakrishna708
    @shyamakrishna708 ปีที่แล้ว

    Delivery is good. Thank you.. able to grab the Modules concept

  • @karthiksundaram544
    @karthiksundaram544 10 หลายเดือนก่อน

    Abhishek sir is always best ❤

  • @AngalaManeesha
    @AngalaManeesha 11 หลายเดือนก่อน

    Great video Abhishek,your way of explanation was too good.

  • @ramswaroop5019
    @ramswaroop5019 10 หลายเดือนก่อน +1

    great content for free thanks for you efforts

  • @KiranTeki-b6s
    @KiranTeki-b6s 9 หลายเดือนก่อน +1

    Very well-organized session.

  • @vadlapatlarajesh5803
    @vadlapatlarajesh5803 ปีที่แล้ว

    Congratulations Abhishek for 1 lacs subscribers...you deserved for this..

  • @sandeepvemu794
    @sandeepvemu794 ปีที่แล้ว

    Abhi,The commitment and dedication of doing the course video is exceptional in spite of your busy work schedules and personal things...take a bow brother

  • @supriyochatterjee4095
    @supriyochatterjee4095 ปีที่แล้ว +1

    It will be very very helpful if you can kindly make a complete separate video on what are the tools and plugins required for writing all types of codes in Terraform for AWS Infrastructure Administration and troubleshooting and monitoring and mauntainence and management of FSX logic ONTAPP storage backups in AWS using Terraform

  • @amansharma-xh6og
    @amansharma-xh6og 7 หลายเดือนก่อน

    liked shared and subscribed for further reach to audience. keep up the good work and Thanks a ton. Great teacher! you know the art of teaching!

  • @KaushalBirthday1stjuly1992
    @KaushalBirthday1stjuly1992 ปีที่แล้ว +1

    Thank you for great video

  • @shivasm-c1h
    @shivasm-c1h ปีที่แล้ว

    Thanks for this nice explanation, you are next Khan sir 😍

  • @durgaprasadmandali6971
    @durgaprasadmandali6971 6 หลายเดือนก่อน

    simply excellent. kudos

  • @shubhangishelke9009
    @shubhangishelke9009 ปีที่แล้ว

    Another great video abhishek. Hats of to you for your dedication and your efforts. Keep it up.

  • @saikumar-jo3ts
    @saikumar-jo3ts ปีที่แล้ว

    Excellent teaching

  • @dideepakindorkar3413
    @dideepakindorkar3413 4 หลายเดือนก่อน

    Excellent 👍

  • @vijaykumar-x3z7w
    @vijaykumar-x3z7w 22 วันที่ผ่านมา

    great work so much helpful thank you much 👏🙏

  • @yogarajkarur7255
    @yogarajkarur7255 ปีที่แล้ว +1

    Vera Level

  • @ashishpandey8766
    @ashishpandey8766 ปีที่แล้ว +1

    Thanks Abhishek

  • @rkbompalli1719
    @rkbompalli1719 ปีที่แล้ว +1

    Hi Abhishek, Thanks for another awesome course. If it's possible can you please add a session on Terraform cloud as well within this course.

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  ปีที่แล้ว

      will try

    • @vamshikrishna7945
      @vamshikrishna7945 ปีที่แล้ว +1

      abhishek i have seen shell scrpiting two videos but can make a video on real time content of shell scripting @@AbhishekVeeramalla

  • @suryaprakashkancharlapalli7281
    @suryaprakashkancharlapalli7281 9 หลายเดือนก่อน +1

    very informative and thank you so much!

  • @kaverichowdary6637
    @kaverichowdary6637 ปีที่แล้ว

    No words to describe you annaya😊

  • @adityadhopade7727
    @adityadhopade7727 7 หลายเดือนก่อน

    This is one of the simplest explaination I could ever found on the modules !! just one question in my mind ; how would the Developer know that what are the required values that need to be added by the developer while using the module ?

  • @AmitKumar-pj6zn
    @AmitKumar-pj6zn 11 หลายเดือนก่อน +1

    Abhishek, your effort is remarkable and hope for lots of learner. I have clear lots of my doubts.
    Any chance for Ansible playlist..

  • @pradeepkhadka9630
    @pradeepkhadka9630 8 หลายเดือนก่อน +1

    best tutor

  • @manojkumarn468
    @manojkumarn468 10 หลายเดือนก่อน

    loved it....❤❤❤❤❤❤❤❤❤❤❤❤

  • @hemantchowdary8103
    @hemantchowdary8103 ปีที่แล้ว +1

    @AbhishekVeeramalla in the day3 concept while executing with modules it does show the output of the public ip of the instance

    • @prakashg5508
      @prakashg5508 6 หลายเดือนก่อน

      yes i got same error did you found any solution for that

  • @Jessy30171
    @Jessy30171 ปีที่แล้ว +2

    First view bro❤

  • @pawangahlot428
    @pawangahlot428 ปีที่แล้ว +1

    Hy Abhishek sir thank you so much for this video please make a microservices video i facing issues with microservices

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  ปีที่แล้ว

      what issue ?

    • @pawangahlot428
      @pawangahlot428 ปีที่แล้ว

      @@AbhishekVeeramalla multiple questions regarding microservices in my devops aptitudes exam

  • @ashwinichivate3905
    @ashwinichivate3905 ปีที่แล้ว

    Very informative video. Completed hands on practice of this video. If possible make a video on Data Sources in terraform. Data sources are not cleared when I was doing that part.

  • @prateekverma5169
    @prateekverma5169 ปีที่แล้ว

    Super bro , love your content :)

  • @sandeepuk4143
    @sandeepuk4143 6 หลายเดือนก่อน +1

    Thank you so much for the training videos! I really appreciate the effort you put into explaining the topic. It's incredibly informative and valuable to me.
    Could you please let me know why the output was not generated when we created the EC2 instance using the module?

  • @pjj7466
    @pjj7466 10 หลายเดือนก่อน

    Very informative Anna. But in that module topic we have created main.tf and passed the values by referring the ec2 module. But it has not given public ip as output. 45:20

  • @souravgupta9283
    @souravgupta9283 8 หลายเดือนก่อน +1

    The module part didn't give the output of the public ip of ec2 instance created because Abhishek did not create another output.tf file outside the module folder,
    The output.tf file should have been like this,
    output "ec2-public_ip" {
    value = module.ec2_instance.public-ip-address
    }

    • @shubhamkumbhar7660
      @shubhamkumbhar7660 7 หลายเดือนก่อน

      Thanks, I was stuck on this 😊

  • @ravindraravi7435
    @ravindraravi7435 9 หลายเดือนก่อน +1

    Thank you ^^

  • @lingrajbiradar4416
    @lingrajbiradar4416 ปีที่แล้ว +2

    Hi abhishek, when we do terraform apply at last after creating modules, output is not coming in console.. do we need to explicitly mention it in case of modules..?

  • @datadriven7585
    @datadriven7585 หลายเดือนก่อน

    thank Abhishek for your selfless teaching, why output is not shown when we modularized the project?

  • @nithinprabhakar6583
    @nithinprabhakar6583 10 หลายเดือนก่อน +1

    DAY-3 Completed 🧭

  • @LoneWolf-ro4hn
    @LoneWolf-ro4hn ปีที่แล้ว

    Thnx for the tutorial sir plz make avideo on 3 tier architecture application using terraform and aws

  • @Joe-tk8cx
    @Joe-tk8cx 4 หลายเดือนก่อน

    Beautiful Anna

  • @kushwahji6791
    @kushwahji6791 ปีที่แล้ว

    Abhishek please at the end make video on one project on terraform covering all complex topics of terraform

  • @SHAJUVK
    @SHAJUVK 10 หลายเดือนก่อน +1

    Hi Abhishek, thank you for the great explanation. I am bit new to terraform. I have a question: can we use terragrunt which can easily handle modularity and dependency in terragrunt.hcl ? Could you please share your thoughts ?

  • @yogeshkumar4887
    @yogeshkumar4887 4 หลายเดือนก่อน

    thank you so much for the video .. if need to launch two instance with same module whether we need to use for each or anyother options is there?

  • @harshnegi200
    @harshnegi200 2 หลายเดือนก่อน

    Completed...!

  • @shardulvaje1962
    @shardulvaje1962 หลายเดือนก่อน

    Hi Abhishek,
    I have just started to learn terraform really liked your videos and currently at Day 3 of terraform zero to hero series of yours.
    I have one small question, If we use module from different private github repo, how will be authentication part done! can you please let me know.

  • @ashwinichivate3905
    @ashwinichivate3905 ปีที่แล้ว +1

    Also if possible plz make hands on project on : provision RDS Instance in VPC private subnet, create IAM role, policy & provision EC2instances having IAM role attached & permissions to read & write data to S3 buckets. Thanks.

    • @nilavasen8631
      @nilavasen8631 ปีที่แล้ว

      yes this kind of things are really needed.. they are being asked in interviews . 🙂

    • @rekhashankar-o6q
      @rekhashankar-o6q ปีที่แล้ว

      looking forward for this kind of project

  • @vaibhavvedak6244
    @vaibhavvedak6244 ปีที่แล้ว +1

    Hi Abhishek, Immense thanks for creating this course and sharing. I do have question on modules. When you ran the module code for reusability, terraform apply did not return the public IP as it should because we have configured it in ec2_instance module. I know I am being beginner at these things but I wanted to know about that.
    .

    • @jagatbandhu2601
      @jagatbandhu2601 10 หลายเดือนก่อน

      Ya same for me also #abhishekveeramalla terraform apply did not return the public IP as it should because we have configured it in ec2_instance module.

  • @snehadhotre3409
    @snehadhotre3409 10 หลายเดือนก่อน

    Thank u for the great and clear explanation Abhishek.
    I have a doubt when I called the module, it worked well but what about the output variable? I didn't get that in the output. Do we need to add something extra for output variable to work ?

  • @chaitanya685
    @chaitanya685 ปีที่แล้ว +1

    Hi Abhishek, first of all thank you for providing such good content. I have one doubt, you mentioned that we can maintain the modules in different private GitHub repo. So how do we configure the GitHub credentials to access these modules in our Terraform script especially when we are deploying our infrastructure using Jenkins pipeline. Thank you

  • @mahfoozalam1851
    @mahfoozalam1851 11 หลายเดือนก่อน

    Hi @Abhishek.Veeramalla, where we can store our modules in production env. which is the best practice.

  • @Rgroose
    @Rgroose 10 หลายเดือนก่อน

    thanks

  • @ramesh_kumar_verma
    @ramesh_kumar_verma ปีที่แล้ว

    thankyou sir

  • @manabjyotisaikia
    @manabjyotisaikia หลายเดือนก่อน

    super like

  • @sureshk1133
    @sureshk1133 11 หลายเดือนก่อน

    Thanks for the wonderful session @Abhishek.Veeramalla . I have one question : May i know why we have not got the output of "Public IP Address" as out once AWS instance is created using module. I am referring to 45:00 min of this vedio . Whatever it is ,the reason , i am learing everyday a vedio of yours and really making a good progress .

    • @skjdante
      @skjdante 10 หลายเดือนก่อน

      Create another outputs.tf file in the porject folder and enter below -
      output "ec2-public_ip" {
      value = module.ec2_instance.public-ip-address
      }

  • @ushasri-gl7sb
    @ushasri-gl7sb 5 หลายเดือนก่อน +1

    After creating this all, atlast Iam not able to see output in the terminal. I also saw in your video that there is no output in the terminal. please explain me why?

  • @vs9108
    @vs9108 8 หลายเดือนก่อน +1

    thanks :)

  • @gokulg7256
    @gokulg7256 2 หลายเดือนก่อน

    Hi Abhishek, Thank you so much for this wonderful tutorial.
    I am having one doubt. When you done the practical for the modules part in the video we have two main.tf files one is in the root directory and the other one is inside the modules/ec2_instance directory and in both of the main.tf you have added the provider. Do we really need that provider in both main.tf files or is it enough only in root main.tf file. Can you please suggest the best practice?

    • @katkojwala
      @katkojwala หลายเดือนก่อน

      You only need to define the provider in the root main.tf file most of the time. This way, all child modules can use it without repeating.
      However, if a child module needs to use a different provider or if you want to keep it clear for reuse, you can add the provider in the child module too. But for simplicity, stick to just the root file when possible.

  • @sachinteradal-n2y
    @sachinteradal-n2y ปีที่แล้ว

    can you teach us that how to make terraform in virtually all these things
    for example creating ec2 instance and connecting to mobaextram and there installing terraform and using terraform virtually with aws

  • @hemaraghav3125
    @hemaraghav3125 9 หลายเดือนก่อน

    Hello @Abhishek.veeramalla, I'm confused about the main.tf file in the module. Why did we create another main.tf file outside? Can't we pass another argument within the same module's main.tf file instead of specifying the module and source separately? OR Can we pass input and output variables in modules?"

  • @rakshithbs8651
    @rakshithbs8651 ปีที่แล้ว

    Hello Abhishek How to be updated in Devops comunity day to day with the tools integration and upcoming strategies in DevOps.

  • @nagarjunahota4498
    @nagarjunahota4498 ปีที่แล้ว +1

    Anna one question! after completing this series with best practices can we attempt and qualify in HashiCorp Certified: Terraform Associate (003) exam?

  • @avengerstonystark3997
    @avengerstonystark3997 12 วันที่ผ่านมา

    I query about modules as per below mentioned methods which way is better to deal
    methode1
    =,most of the people maintain single main.tf and write modules outside main.tf and import it same
    for example I will write a code for ec2 with ec2moudle and import every time in main.tf when ever need to create new ec2 instance
    methode2
    create a sperate folder like dev, prod maintained individual dev_main.tf and prod_main.tf for each environment.
    where as main code will write in main.tf so that can I import same code as single module in dev_main.tf or prod_main.tf
    with different terraform.tfvars.

  • @sagarhm2237
    @sagarhm2237 ปีที่แล้ว

    bro can u done Monitoring vedios especially the students get stucked in industries , kube prometheus and opentelemtry and alerting with msteams slack etc ,

  • @rakyrstsdsss771
    @rakyrstsdsss771 9 หลายเดือนก่อน

    hi abhilash , great video , but in interview i got a question , suppose you have module which we created and or from hashicorp , so in X enviroment you want a resource but in Y enviroment you dont want that resource , how to avoid the any unwanted resources in modules ?

  • @MrGrind007
    @MrGrind007 6 หลายเดือนก่อน

    46:20 when u did terraform apply ..... why didnt u get the PUBLIC IP at the output ?
    even tho output.tf file is present inside the modules? Can u please let me know

  • @Heisennburg
    @Heisennburg 9 หลายเดือนก่อน

    Doubts:
    1. Is the terraform.tfvars file not required anymore when we are using modules to define the resources in main.tf, or we can create an give the path of that file aswell?
    2. why we didn't got the output shown when we did terraform apply with the modular approach?

    • @rohandhonde3481
      @rohandhonde3481 2 หลายเดือนก่อน

      same queries man you got the answers?

  • @BharathKumarReddy2103
    @BharathKumarReddy2103 ปีที่แล้ว

    ❤❤❤

  • @Rathodrohith
    @Rathodrohith ปีที่แล้ว +1

    If you observe at 44:01 the output is not shown to user when he/she used modules. If I want to see the output their like earlier what should I do? Please respond.

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  ปีที่แล้ว +1

      U have to create a new output.tf and reference it

  • @YUVRAJGARUD-b2z
    @YUVRAJGARUD-b2z ปีที่แล้ว

    Hi Abhishek,
    Thanks for the wonderful video,
    But one doubt when you are using module in last section to create instance , in the terraform apply output it didn't displayed output section , public IP of the instance ? But it's already declared in module.

    • @venkateshvejju671
      @venkateshvejju671 ปีที่แล้ว

      It will be great if you answer this @abhishek

  • @rakshitaupadhya5674
    @rakshitaupadhya5674 7 หลายเดือนก่อน

    Thanks for the wonderful video Abhishek. I have a doubt on output variable
    outputs.tf is under the module folder so when the main.tf(of Day-3 folder) is executed this outputs.tf is not executed. From your videos I can see public IP address is not printed when apply is executed. Can you please let me know how can we execute outputs.tf while using modular approach?

  • @yashadattsawant9266
    @yashadattsawant9266 ปีที่แล้ว

    The output public ip address not shown after executing terraform apply command from output.tf. is there any different way to do it ? rest was the best video

  • @vedikannan7270
    @vedikannan7270 ปีที่แล้ว

    How do you print output values when consuming the modules. You have defined the output variable but that didn’t show the public ip in the output

  • @harishkpayila
    @harishkpayila ปีที่แล้ว

    Hi Abhishek. The Output value is not displayed in the Command Line after modules are created, can you please explain how to get the output when module are used? Thanks

    • @raghavendra_ch
      @raghavendra_ch ปีที่แล้ว

      Even for me also output IP is not displayed

  • @nel_son_06
    @nel_son_06 8 หลายเดือนก่อน

    Hi abhishek, in this video when you implemented the modules, I observed the output ( IP_address) you declared in the output.tf file did not display when you deployed the resources on terraform. Please how can I get it to display the output ?

    • @talesofindianmythology1666
      @talesofindianmythology1666 7 หลายเดือนก่อน

      Create a output.tf file outside of module.
      Just put
      Value= module.ec2_instance.public.ip

  • @viswac2302
    @viswac2302 6 หลายเดือนก่อน

    while running the modularized the instance -> Terraform apply doesn't gave any Output (ip_address of instance) ???

  • @unemployedindian8317
    @unemployedindian8317 ปีที่แล้ว +1

    Hi Abhishek anna
    Anna I am trying to practice this modules but when I try to execute apply command it gives me Invalid AMIID error anna but I am giving correct ami id from my AWS account how can I rectify this error anna