Modules | Terraform Tutorial | #15

Поділитися
Вставка
  • Опубліковано 27 сер 2024

КОМЕНТАРІ • 137

  • @dalaiwu716
    @dalaiwu716 4 роки тому +50

    Best terraform tutorial I have seen so far. Thank you for sharing.

    • @WillBrock
      @WillBrock  4 роки тому +2

      Thanks, glad you liked it!

    • @timjen2544
      @timjen2544 Рік тому

      @@WillBrock 😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊

  • @akhilpandey9054
    @akhilpandey9054 2 роки тому +3

    This is the best tutorial on Terraform modules I've come across so far. Thank you so much!

  • @user-in4kw6il8q
    @user-in4kw6il8q 5 місяців тому +1

    The only Terraform teacher I understand 😂 Thank you! 😃

    • @WillBrock
      @WillBrock  5 місяців тому +1

      Awesome, glad it was helpful

  • @johnsonmaurice98
    @johnsonmaurice98 3 роки тому +5

    Will you are a gifted teacher. This is the best Terraform tutorial I've encoountered. If you are not already doing so you should consider putting up classes on the learning platforms like Coursera, Udemy, etc and get PAID !!!! You deserve it.

    • @WillBrock
      @WillBrock  3 роки тому +1

      Thanks for the kind words Maurice! I have thought about doing paid courses, maybe sometime in the future.

    • @mynewinterests
      @mynewinterests 2 роки тому

      @@WillBrock it's been a year since mentioned this(paid courses) and I'm sure with the overwhelming positive comments, you'll please give it a thought... I know you may not be so enthused about the money but please do...I believe it'll be more encompassing...
      Blessings

  • @DreamHound
    @DreamHound 2 роки тому +1

    I have spent MONTHS TRYING TO UNDERSTAND MODULES AND YOU ARE THE FIRST TO MAKE IT in clear real example details. Amazing thank you so much!!

    • @WillBrock
      @WillBrock  2 роки тому +1

      Awesome, glad it was helpful :)

  • @nikker7471
    @nikker7471 Рік тому

    Great explanation! I have spent the last few days hitting my head in the wall because my modules were not working. Thanks to your explanation about root and child modules now everything is crystal clear. Thank you!

  • @5e88e
    @5e88e 7 місяців тому

    Great video! What I needed!
    Shift+alt+f to auto format instead of all the space clicking!

  • @miyelanimaluleke859
    @miyelanimaluleke859 2 роки тому

    You are the best. Watching from South Africa. Thank you!

    • @WillBrock
      @WillBrock  2 роки тому

      Awesome, thanks for watching!

  • @PatrickBurkeTV
    @PatrickBurkeTV 2 роки тому

    I've been asking myself "when would I use a module instead of a resource?" for the past week. You answered it in the first 30 seconds. Thank you Will!!

  • @sebastianfarias5670
    @sebastianfarias5670 Рік тому

    OMG finally someone came up with a decent terraform hands on tutorial ! thank you so very much !!!

  • @jsandorkosa
    @jsandorkosa Рік тому

    This is exactly what I was looking for. The other videos approached the topic in such a complicated way that by the end I didn't feel like watching it anymore.
    Great work. Keep it up ;)

    • @WillBrock
      @WillBrock  Рік тому

      Awesome, glad it was helpful

  • @Ashu6443
    @Ashu6443 2 роки тому

    This is the best video I have seen so far regarding TF module. Thanks

  • @inaslohith3678
    @inaslohith3678 Рік тому

    It's really made me to understand better on tf modules. .

  • @0001chichi
    @0001chichi 3 роки тому +1

    Woo. Thank you. I really got a lot from this videos more than the thousand of hrs spent watching other videos. Thanks

    • @WillBrock
      @WillBrock  3 роки тому

      Awesome, glad to hear!

  • @johnnyxxx1115
    @johnnyxxx1115 2 роки тому +1

    Great Tutorial, i understood the basics of modules completely with this video. Well worth the 30 minutes . Thank you

  • @mayureshpatilvlogs
    @mayureshpatilvlogs 4 роки тому

    On of the best tutorial series on Terraform I came accross. I tried multiple other videos and not able clear the basics concept you have cleared doubts. Thanks a lot for such easy and straight forward explanation. Keep it up 👍

    • @WillBrock
      @WillBrock  4 роки тому

      Thanks for the kind words. I'm glad they have been helpful.

  • @eejin8
    @eejin8 2 роки тому

    By far the best terraform video !!!

  • @mosesg45
    @mosesg45 Рік тому

    Brilliant modules tutorial , the simplicity and breakdown. Thanks a million Will.

    • @WillBrock
      @WillBrock  Рік тому

      Great! I'm glad it was helpful

  • @KingstonFortune
    @KingstonFortune 2 роки тому

    when I searched for terraform modules, this video came out as number 1, I was wondering why, but now I know why...this is hands down the best TF module explanation video on youtube.
    Some quick tips, for aligning the equals, you can use terraform fmt, also for seeing output values without running apply, you can use terraform refresh.

    • @WillBrock
      @WillBrock  2 роки тому

      Thanks for the kind words and tips!

  • @BhanyReddy
    @BhanyReddy 3 роки тому +1

    Awesome.. straight to the point.. and clear.. described for a newbie in mind.

  • @we3kbb
    @we3kbb 4 роки тому +3

    Keep doing what your doing! You channel will grow. Enjoying your content

    • @WillBrock
      @WillBrock  4 роки тому +1

      Thanks for the kind words!

  • @tienpho
    @tienpho 3 роки тому +1

    you are awesome! I am a newbie to TF and you have helped me getting up on speed in NO TIME! Thank you so much!

    • @WillBrock
      @WillBrock  3 роки тому +1

      Awesome, I'm glad it has helped you!

  • @rogerdpm
    @rogerdpm 3 роки тому +4

    @Will Brock - Great videos. Keep up the good work. I have noticed that you align the "=" signs. Just one tip. I usually use "terraform fmt" at the command line to align them.

  • @kanishkadas5907
    @kanishkadas5907 Рік тому

    Best terraform tutorial

  • @GravitySucks2000
    @GravitySucks2000 2 роки тому

    i think is by far the best tutorial , thank you so very much..

  • @davidcsidavidcsi
    @davidcsidavidcsi 3 роки тому +3

    great tutorial! I was struggling with modules and this cleared a lot of stuff for me. Thanks!

  • @forexmeter3900
    @forexmeter3900 Рік тому

    Very well explained. Thank you!

  • @praveenojha8961
    @praveenojha8961 2 роки тому

    Thanks for your efforts for make us understanding in so simple words.
    Missing your new videos.
    Haven't see any videos from long time
    Kindly keep sharing your knowledge with world.

    • @WillBrock
      @WillBrock  2 роки тому

      Thanks for the kind words. Haven't had time to create new videos but hopefully at some point I'll do some more

  • @chrispelfrey8651
    @chrispelfrey8651 Рік тому

    Solid tutorial. Thank you!

  • @karthiksam5
    @karthiksam5 2 роки тому

    Superb Explanation. Thanks

  • @rabiechaya
    @rabiechaya 3 роки тому +2

    Thanks Will, Very well orgnized structure of videos and clear explanation. I am new to terraform and I am now involved in maintaining and updating very complex envi. :-/ , but your explanation gave me a clear understand how things orgnized and built in terraform. thanks for your effort to make this explanation available for everyone.
    /Rabie

  • @techwithotabek
    @techwithotabek Рік тому

    Amazing and very clear explanation! Thanks a lot

  • @ebrahima9647
    @ebrahima9647 3 роки тому

    You are the man!
    I am now a pro in TF.

  • @TheSouhailus
    @TheSouhailus 2 роки тому

    the best tutorial ever

  • @SiddharthSinghFiery69
    @SiddharthSinghFiery69 3 роки тому +1

    Really well explained tutorial on modules. Thanks Will !

  • @williamhardison3287
    @williamhardison3287 3 роки тому

    Awesome video Will, just listening to your videos, and how you explain every detail has helped me understand a lot more about Terraform (especially for a Sys Admin that doesn’t have a programming background).

  • @puppyofwrath
    @puppyofwrath 3 роки тому

    I watched this on a Friday night.

  • @lonewolf2547
    @lonewolf2547 3 роки тому

    Best explanation on youtube. Really gr8 work man

  • @abir95571
    @abir95571 Рік тому

    Thanks man .. appreciate your effort

  • @padmanathanmariappan5694
    @padmanathanmariappan5694 2 роки тому

    This is best ..... Keep rocking will

  • @felipeozoski
    @felipeozoski 3 роки тому +1

    Thank you so much for this playlist!!! we all really appreciate it!

  • @ahmadsaid1788
    @ahmadsaid1788 2 роки тому

    Good one, keep it up!

  • @CHANTI8947
    @CHANTI8947 2 роки тому

    this guy is awesome 👏 🙌

  • @rejeevesundar3982
    @rejeevesundar3982 Рік тому

    awesome explanation sir

  • @ghost1on
    @ghost1on 3 роки тому

    Really REALLY great tutorial - thank you Will

  • @mariawtr
    @mariawtr 2 роки тому

    Thank you so much! It helped me a lot!! New subscribed!

    • @WillBrock
      @WillBrock  2 роки тому +1

      Awesome, glad it has been helpful

  • @edwinpaul8474
    @edwinpaul8474 2 роки тому

    Thank you Will, for this amazing video.

    • @WillBrock
      @WillBrock  2 роки тому

      No problem. Glad you liked it.

  • @sansomonite
    @sansomonite 3 роки тому

    Nicely explained. Thanks much.

  • @sree964
    @sree964 2 роки тому

    Absolutely wonderful.

  • @mayureshpatilvlogs
    @mayureshpatilvlogs 4 роки тому +1

    Please create video on how to use remote module. Have you worked on MongoDb provider in Terraform

  • @yougenxue7665
    @yougenxue7665 2 роки тому

    Thanks Will. Great videos.

  • @keithcampbell6352
    @keithcampbell6352 3 роки тому

    You’re amazing, these videos are coming in clutch. Subscribed.

  • @oronboyxd69
    @oronboyxd69 2 роки тому

    very helpful!

  • @desiboyz4695
    @desiboyz4695 4 роки тому +1

    Hello sir,
    Thank you for these tuts.
    Can you pls a video on dockers using terraform from starting to end ... Eg installation to create a container ,image and run it .

  • @aiparodyman
    @aiparodyman 3 роки тому

    Outstanding video.

  • @republic2033
    @republic2033 3 роки тому

    Thank you Will, that was a very clear explanation

  • @rouabahoussama
    @rouabahoussama 3 роки тому

    Perfect explanation 👌🏾 thank u

  • @clwither
    @clwither 2 роки тому

    Great video!

  • @veerenchawda4376
    @veerenchawda4376 3 роки тому

    Amazing tutorial

  • @rawanalsubhi7316
    @rawanalsubhi7316 4 роки тому

    Perfect explanation

  • @vijaygupta0842
    @vijaygupta0842 3 роки тому

    such a knowledgeable tutorial on Terraform module , almost everything has been covered .Just wanted to know instead of declaring a value of variable in module , Can we pass a tfvars file to module ?

  • @nstr111
    @nstr111 2 роки тому

    very nice

  • @sankaranand503
    @sankaranand503 3 роки тому

    very good tutorial

  • @ChanceMinus
    @ChanceMinus 4 роки тому

    Fantastic! Thank you...

  • @pbezanillat
    @pbezanillat 3 роки тому

    Nice video, thanks !

  • @uchennamakaawa6665
    @uchennamakaawa6665 Рік тому

    Thanks Will for the detailed explanation, I have a follow-up question. I have 3 folders (named after the regions) for deploying to different regions, so these folders share 2 module resources. Is it possible to use one tf apply to deploy all resources in each folder or I must be on each folder directory to deploy one after the other? I'm not sure if my question is clear enough.

  • @subhankarde3300
    @subhankarde3300 2 роки тому

    What happens when required_version criteria is not met and I am using an old terraform version ? Do I need to upgrade ? Can it be overridden ?
    Also does same thing happen for provider versions in modules ?

  • @ramirez368
    @ramirez368 2 роки тому

    Question in the directory structure, why are you calling under setup/main.tf....why is not from webserber/main.tf??

  • @user-nw1bk1nt3y
    @user-nw1bk1nt3y Рік тому

    What if your module directory which you are sourcing, like in this case webserver has its own provider file?

  • @mrbeats7434
    @mrbeats7434 4 роки тому

    thanks man. Well done

  • @shahoftrading
    @shahoftrading 3 роки тому

    how come we have to call the module.will_webserve.instance to export
    the data of aws_instance.webserver? Why cant we just do the regular output?
    Like I dont see any of the data from "wills_webserver" being exported at all its all the aws_instance data

  • @UmpikLumpik
    @UmpikLumpik 2 роки тому

    I came across a problem that if you have IntelliJ and your main.tf is in src/ and there you create a subfolder and your module got source="module" then you get:
    Invalid module source address: Module "vpcNgw" (declared at main.tf line 7) has an invalid source address "modules": Terraform cannot detect a supported external module source type for modules.
    The solution to that is to put your main.tf into some subfolder like src/terraform/main.tf and have a module in like src/module/main.tf. Having the module source set to "../module" then works

  • @gouthamreddy1269
    @gouthamreddy1269 3 роки тому

    Thank you

  • @sarveshrasam9635
    @sarveshrasam9635 3 роки тому

    i have created one module for Application load balancer, in that i have mentioned multiple resource blocks, each resource block has 'name' attribute common.... how i can assign value to specific resource block's name attribute ?

  • @tegarsantosa3813
    @tegarsantosa3813 Рік тому

    great tutorial! but how can i define a global variable which accessible for all modules?

  • @varuntiwari2226
    @varuntiwari2226 4 роки тому +1

    Hello Will
    How we can call another module if we have dependany on another module to target that resource
    like we have 2 module one is VPC and another is ec2 so after creation of VPC we need to deploy ec2 in that particular subnet so how we can do it pleae suggest we.

    • @WillBrock
      @WillBrock  4 роки тому

      In terraform 0.13 you can use depends_on like you can with other resources.

  • @gregdonohoe9253
    @gregdonohoe9253 3 роки тому

    Great content Will. I have a question: In your webserver directory you have mani.tf, variables.tf & outputs.tf. In a more complex configuration would it be possible to split the main.tf across multiple modules ie one for vpc, one for subnets etc etc???

    • @DineshMannam
      @DineshMannam 3 роки тому

      yes, we can split them and call them from main.tf using source

  • @ksundar369gmail
    @ksundar369gmail 2 роки тому

    Can I call these modules from the root main file by passing variables in the form of tfvars?

  • @mailamiton
    @mailamiton 3 роки тому

    Thanks for the video. it really helped. how can we use the environment variable file(tfvars) with the module . In this case, do we need variable.tf in main directory as well ??

  • @nagarajunagari4749
    @nagarajunagari4749 4 роки тому +1

    Thanks Will, How do you run "a" module 1st and then only "b" module 2nd. ? Please let me know.

    • @WillBrock
      @WillBrock  4 роки тому

      In terraform version 0.13 you can use depends_on but that is still in beta. Another way would be to use output values from one module into another.

  • @vaishaligupta5509
    @vaishaligupta5509 3 роки тому

    I am getting error while using output section
    E:\Terraform1\AWS_Infra>terraform plan
    Error: Unsupported attribute
    on check_code.tf line 16, in output "vpc_details":
    16: value = module.VPC.VPC_ID
    This value does not have any attributes.

  • @stevenwilliams7774
    @stevenwilliams7774 3 роки тому

    how do you get the code to line up under the resource type? All the equal signs are stacked evenly on top of each other? Is this a separate
    extension?

  • @simplyviki
    @simplyviki 4 роки тому

    Hey Will, I am looking for Terraform Import tutorial and couldn't find any proper explanation. In case we create few resources manually and then want to update our existing TFState file, what is the process ? Do you have any such tutorial ?

  • @tshaylatte9502
    @tshaylatte9502 3 роки тому +1

    thanks again, is there any way we can contribute to your work? tipee ?

    • @WillBrock
      @WillBrock  3 роки тому

      I've got venmo. wpbrock is the handle

  • @mandeepsinghbal3159
    @mandeepsinghbal3159 3 роки тому

    Lets say i have 4 modules for org policy each with different constraints... while sending data from tfvars... i am unable to send more than 1 module data

  • @DominusObiscum
    @DominusObiscum 3 роки тому

    Hi Tim, I am getting confused with path and relative path when i use a module that references another module, basically I run into the unreadable module directory have you seen that issue before?

    • @WillBrock
      @WillBrock  3 роки тому

      Do you have an example you can share? The path should be the location of the module.
      www.computernetworkingnotes.com/rhce-study-guide/differences-between-absolute-path-and-relative-path-in-linux.html

  • @duckboymiro3533
    @duckboymiro3533 3 роки тому

    11:04 what was it
    very nice tutorial tho

  • @liyuling1984
    @liyuling1984 2 роки тому

    1.25x speed feels good

  • @ifeanya7856
    @ifeanya7856 2 роки тому

    why's he always saying/using foobar? confuses the heck outta me 😩