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

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

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

  • @SaiRam-r4p
    @SaiRam-r4p Год назад +48

    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 7 месяцев назад +10

    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 4 месяца назад +5

    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 11 месяцев назад +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

  • @sirishak83
    @sirishak83 Месяц назад +1

    How much ever harder, you make it so simple to understand. I paid fee for a class and still come here to understand stuff . thank you !!

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

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

    I am clear about Terraform Modules. Thanks Abhishek sir.

  • @prathameshraut5932
    @prathameshraut5932 16 дней назад

    Really great work Abhishek in creating such informative videos for explaining terraform concepts in detail .

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

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

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

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

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

    Exceptional training 🙏🏻🙏🏻

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

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

    Thank you Abhi. You are my DevOps hero

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

  • @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😁🤝

  • @light-sg5sl
    @light-sg5sl Год назад +1

    Ur content is next level
    Thank you 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😊❤

  • @VishwasSunkari
    @VishwasSunkari 11 дней назад +1

    Happy 400k Abhishek, You are such an inspiration you'll definitely thrive in this journey. But please don't forget your sense of why in your journey.
    -Love

  • @priyamsaha8018
    @priyamsaha8018 Год назад +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

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

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

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

    great content for free thanks for you efforts

  • @KiranTeki-b6s
    @KiranTeki-b6s 11 месяцев назад +1

    Very well-organized session.

  • @saikumar-jo3ts
    @saikumar-jo3ts Год назад

    Excellent teaching

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

    Thank you for great video

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

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

    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

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

    Vera Level

  • @amansharma-xh6og
    @amansharma-xh6og 9 месяцев назад

    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!

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

    Abhishek sir is always best ❤

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

  • @vijaykumar-x3z7w
    @vijaykumar-x3z7w 2 месяца назад

    great work so much helpful thank you much 👏🙏

  • @pradeepkhadka9630
    @pradeepkhadka9630 10 месяцев назад +1

    best tutor

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

    Thanks Abhishek

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

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

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

    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

  • @dideepakindorkar3413
    @dideepakindorkar3413 6 месяцев назад

    Excellent 👍

  • @vishalsuthar9876
    @vishalsuthar9876 19 дней назад +1

    Thank you so much sir

  • @VasureddyEttedi
    @VasureddyEttedi Месяц назад

    Very nice

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

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

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

  • @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 8 месяцев назад

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

  • @suryaprakashkancharlapalli7281
    @suryaprakashkancharlapalli7281 11 месяцев назад +1

    very informative and thank you so much!

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

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

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

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

  • @deepakbehera-jc5lh
    @deepakbehera-jc5lh 4 дня назад

    Thank you ❤❤❤❤

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

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

  • @reddysprakash5666
    @reddysprakash5666 11 месяцев назад +1

    time 44:55 , output is missing
    how get the output?

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

    Thank you so much Abhishek :)

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

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

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

  • @shivasm-c1h
    @shivasm-c1h Год назад

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

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

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

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

    simply excellent. kudos

  • @ushasri-gl7sb
    @ushasri-gl7sb 7 месяцев назад +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?

  • @adityadhopade7727
    @adityadhopade7727 9 месяцев назад

    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 ?

  • @yogeshkumar4887
    @yogeshkumar4887 6 месяцев назад

    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?

  • @sandeepuk4143
    @sandeepuk4143 8 месяцев назад +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?

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

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

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

    ok i have a question here when we actually edit tfvars it will either replace the current instance ryt so how can we use tfvars for 2 or more instances without deleting the current one

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

  • @SachinOjha-j1c
    @SachinOjha-j1c Месяц назад

    Hey abhishek, at time stamp 43.56 if you are fetching values using modules that what is the point of again declaring/providing ami, subnet, instance type values ?

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

    Hello Abhishek, this video shows me blur when I open it, is there anything I need to fix from my end.?

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

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

  • @snehademanna2408
    @snehademanna2408 Месяц назад

    Hi abhishek sir
    Thank you so much for such amazing content you are providing
    I have one doubt
    When we are creating instance using modular approval, why public ip is not getting printed?

  • @AmitKumar-pj6zn
    @AmitKumar-pj6zn Год назад +1

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

  • @Ankit-Memories
    @Ankit-Memories 2 месяца назад

    Can someone please help me understand why public IP output did not come when executed through module while output.tf is already present inside module location?

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

    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 ?

  • @karankolhe6694
    @karankolhe6694 11 месяцев назад

    But after the execution of apply the module the output (public ip) is not show?

  • @ravindraravi7435
    @ravindraravi7435 11 месяцев назад +1

    Thank you ^^

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

    Hello Sir,
    What happens when we overwrite the instance_type in .tfvar file from t2.micro to t2.medium. It will update instance from t2.micro to t2.medium or create one new instance.

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

  • @nyeemTube11
    @nyeemTube11 6 месяцев назад

    can we write.tfvars and assign value rather than inserting it in main.tf, can any answer please/

  • @SHAJUVK
    @SHAJUVK Год назад +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 ?

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

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

  • @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 Год назад

      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.

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

    No words to describe you annaya😊

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

    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.

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

    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 Год назад

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

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

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

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

  • @rakyrstsdsss771
    @rakyrstsdsss771 11 месяцев назад

    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 ?

  • @dheerajsarode6756
    @dheerajsarode6756 11 месяцев назад

    extensions are not working in vs cloud please make a video on how to install terraform extensions on vs cloud

  • @ShreyaSingh-so6jg
    @ShreyaSingh-so6jg 9 месяцев назад

    in defining the modules section, can't i just write below code in my main.tf file and the terraform would fetch the instance type and AMI ID from the terraform.tfvars from the folder ./modules/ec2instance ??? Or Do I need to pass these variable values in the main.tf file itself? Please let me know
    provider "aws" {
    region = "us-east-1"
    }
    module "ec2_instance" {
    source = "./modules/ec2instance"
    }

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

  • @AdarshKumar-hh7co
    @AdarshKumar-hh7co Год назад +1

    Hi Abhishek , after you modularize the things and do the terraform apply , output is not coming
    anyone have answer ??

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

      Which output ?

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

      Create outputs.tf in root directory along with main.tf and paste below content and apply
      output "public-ip-address-module" {
      value = module.ec2_instance.public-ip-address
      }

  • @Joe-tk8cx
    @Joe-tk8cx 6 месяцев назад

    Beautiful Anna

  • @AnupriyaPoddar-x1t
    @AnupriyaPoddar-x1t Год назад +1

    I was worrying why the output didn't work when used in modules I checked in video too it didn't work here too, just want to know reason if anyone knows or how you fixed it?

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

      Hey, its simple .. u just need to add ouput variable in your root folder and reference the value from module
      For example
      module.my_module.instance_id

  • @souravgupta9283
    @souravgupta9283 10 месяцев назад +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
    }

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

    Super bro , love your content :)

  • @KISHOREKUMAR-zm5qz
    @KISHOREKUMAR-zm5qz Год назад

    if i created a subnet by writing infra.. then how can i keep that subnet id value in this module syntax.. pls tell me bro..

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

    thankyou sir

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

  • @palanisamy-dl9qe
    @palanisamy-dl9qe 8 месяцев назад

    Hi buddy do you have eks module for cluster creation ?