Modules | Terraform Tutorial | #15

  Рет қаралды 120,466

Will Brock

Will Brock

Күн бұрын

Пікірлер: 135
@RicardoLinares-z8s
@RicardoLinares-z8s 7 ай бұрын
The only Terraform teacher I understand 😂 Thank you! 😃
@WillBrock
@WillBrock 7 ай бұрын
Awesome, glad it was helpful
@dalaiwu716
@dalaiwu716 4 жыл бұрын
Best terraform tutorial I have seen so far. Thank you for sharing.
@WillBrock
@WillBrock 4 жыл бұрын
Thanks, glad you liked it!
@timjen2544
@timjen2544 Жыл бұрын
@@WillBrock 😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊
@DreamHound
@DreamHound 2 жыл бұрын
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 жыл бұрын
Awesome, glad it was helpful :)
@johnsonmaurice98
@johnsonmaurice98 3 жыл бұрын
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 жыл бұрын
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
@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!
@WillBrock
@WillBrock Жыл бұрын
Awesome, glad to hear!
@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!!
@WillBrock
@WillBrock 2 жыл бұрын
Awesome!!
@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
@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.
@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!
@johnnyxxx1115
@johnnyxxx1115 2 жыл бұрын
Great Tutorial, i understood the basics of modules completely with this video. Well worth the 30 minutes . Thank you
@Ashu6443
@Ashu6443 2 жыл бұрын
This is the best video I have seen so far regarding TF module. Thanks
@WillBrock
@WillBrock 2 жыл бұрын
Glad to hear :)
@we3kbb
@we3kbb 4 жыл бұрын
Keep doing what your doing! You channel will grow. Enjoying your content
@WillBrock
@WillBrock 4 жыл бұрын
Thanks for the kind words!
@mosesg45
@mosesg45 2 жыл бұрын
Brilliant modules tutorial , the simplicity and breakdown. Thanks a million Will.
@WillBrock
@WillBrock 2 жыл бұрын
Great! I'm glad it was helpful
@0001chichi
@0001chichi 3 жыл бұрын
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!
@rogerdpm
@rogerdpm 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.
@sevensolutions77
@sevensolutions77 Жыл бұрын
Ah.. didnt know that.. Thanks 👍
@sebastianfarias5670
@sebastianfarias5670 Жыл бұрын
OMG finally someone came up with a decent terraform hands on tutorial ! thank you so very much !!!
@WillBrock
@WillBrock Жыл бұрын
Glad it was helpful :)
@tienpho
@tienpho 3 жыл бұрын
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 жыл бұрын
Awesome, I'm glad it has helped you!
@5e88e
@5e88e 9 ай бұрын
Great video! What I needed! Shift+alt+f to auto format instead of all the space clicking!
@WillBrock
@WillBrock 9 ай бұрын
Great!
@davidcsidavidcsi
@davidcsidavidcsi 3 жыл бұрын
great tutorial! I was struggling with modules and this cleared a lot of stuff for me. Thanks!
@KingstonFortune
@KingstonFortune 2 жыл бұрын
I agree
@BhanyReddy
@BhanyReddy 3 жыл бұрын
Awesome.. straight to the point.. and clear.. described for a newbie in mind.
@mayureshpatilvlogs
@mayureshpatilvlogs 4 жыл бұрын
Please create video on how to use remote module. Have you worked on MongoDb provider in Terraform
@miyelanimaluleke859
@miyelanimaluleke859 2 жыл бұрын
You are the best. Watching from South Africa. Thank you!
@WillBrock
@WillBrock 2 жыл бұрын
Awesome, thanks for watching!
@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
@williamhardison3287
@williamhardison3287 4 жыл бұрын
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).
@WillBrock
@WillBrock 4 жыл бұрын
Awesome! Glad to hear
@rabiechaya
@rabiechaya 4 жыл бұрын
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
@WillBrock
@WillBrock 4 жыл бұрын
Glad to help
@eejin8
@eejin8 2 жыл бұрын
By far the best terraform video !!!
@WillBrock
@WillBrock 2 жыл бұрын
Glad you liked it!
@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 ?
@SiddharthSinghFiery69
@SiddharthSinghFiery69 3 жыл бұрын
Really well explained tutorial on modules. Thanks Will !
@techwithotabek
@techwithotabek Жыл бұрын
Amazing and very clear explanation! Thanks a lot
@inaslohith3678
@inaslohith3678 Жыл бұрын
It's really made me to understand better on tf modules. .
@lonewolf2547
@lonewolf2547 3 жыл бұрын
Best explanation on youtube. Really gr8 work man
@WillBrock
@WillBrock 3 жыл бұрын
Thanks a ton!
@karthiksam5
@karthiksam5 3 жыл бұрын
Superb Explanation. Thanks
@WillBrock
@WillBrock 3 жыл бұрын
Glad it was helpful!
@ebrahima9647
@ebrahima9647 3 жыл бұрын
You are the man! I am now a pro in TF.
@WillBrock
@WillBrock 3 жыл бұрын
Awesome!!
@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 ?
@forexmeter3900
@forexmeter3900 2 жыл бұрын
Very well explained. Thank you!
@WillBrock
@WillBrock 2 жыл бұрын
Great!
@felipeozoski
@felipeozoski 3 жыл бұрын
Thank you so much for this playlist!!! we all really appreciate it!
@chrispelfrey8651
@chrispelfrey8651 Жыл бұрын
Solid tutorial. Thank you!
@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.
@ghost1on
@ghost1on 3 жыл бұрын
Really REALLY great tutorial - thank you Will
@WillBrock
@WillBrock 3 жыл бұрын
Glad it was helpful
@desiboyz4695
@desiboyz4695 4 жыл бұрын
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 .
@kanishkadas5907
@kanishkadas5907 2 жыл бұрын
Best terraform tutorial
@aiparodyman
@aiparodyman 3 жыл бұрын
Outstanding video.
@ramirez368
@ramirez368 2 жыл бұрын
Question in the directory structure, why are you calling under setup/main.tf....why is not from webserber/main.tf??
@yougenxue7665
@yougenxue7665 3 жыл бұрын
Thanks Will. Great videos.
@keithcampbell6352
@keithcampbell6352 3 жыл бұрын
You’re amazing, these videos are coming in clutch. Subscribed.
@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 ?
@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
@edwinpaul8474
@edwinpaul8474 2 жыл бұрын
Thank you Will, for this amazing video.
@WillBrock
@WillBrock 2 жыл бұрын
No problem. Glad you liked it.
@sree964
@sree964 2 жыл бұрын
Absolutely wonderful.
@ChintanThakker-v5r
@ChintanThakker-v5r Жыл бұрын
What if your module directory which you are sourcing, like in this case webserver has its own provider file?
@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 ??
@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
@padmanathanmariappan5694
@padmanathanmariappan5694 3 жыл бұрын
This is best ..... Keep rocking will
@WillBrock
@WillBrock 3 жыл бұрын
Thanks!
@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 ?
@abir95571
@abir95571 Жыл бұрын
Thanks man .. appreciate your effort
@sansomonite
@sansomonite 3 жыл бұрын
Nicely explained. Thanks much.
@TheSouhailus
@TheSouhailus 3 жыл бұрын
the best tutorial ever
@WillBrock
@WillBrock 3 жыл бұрын
Thanks!
@varuntiwari2226
@varuntiwari2226 4 жыл бұрын
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.
@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?
@tegarsantosa3813
@tegarsantosa3813 Жыл бұрын
great tutorial! but how can i define a global variable which accessible for all modules?
@rejeevesundar3982
@rejeevesundar3982 Жыл бұрын
awesome explanation sir
@WillBrock
@WillBrock Жыл бұрын
Thanks!
@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.
@republic2033
@republic2033 4 жыл бұрын
Thank you Will, that was a very clear explanation
@WillBrock
@WillBrock 4 жыл бұрын
No problem!
@nagarajunagari4749
@nagarajunagari4749 4 жыл бұрын
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.
@puppyofwrath
@puppyofwrath 3 жыл бұрын
I watched this on a Friday night.
@WillBrock
@WillBrock 3 жыл бұрын
Best time to watch :)
@mariawtr
@mariawtr 2 жыл бұрын
Thank you so much! It helped me a lot!! New subscribed!
@WillBrock
@WillBrock 2 жыл бұрын
Awesome, glad it has been helpful
@tshaylatte9502
@tshaylatte9502 3 жыл бұрын
thanks again, is there any way we can contribute to your work? tipee ?
@WillBrock
@WillBrock 3 жыл бұрын
I've got venmo. wpbrock is the handle
@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
@Trythrow
@Trythrow 2 жыл бұрын
Good one, keep it up!
@CHANTI8947
@CHANTI8947 2 жыл бұрын
this guy is awesome 👏 🙌
@WillBrock
@WillBrock 2 жыл бұрын
Thanks!
@mandeepsinghbal3159
@mandeepsinghbal3159 4 жыл бұрын
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
@rouabahoussama
@rouabahoussama 3 жыл бұрын
Perfect explanation 👌🏾 thank u
@veerenchawda4376
@veerenchawda4376 3 жыл бұрын
Amazing tutorial
@clwither
@clwither 2 жыл бұрын
Great video!
@WillBrock
@WillBrock 2 жыл бұрын
Thanks!
@sankaranand503
@sankaranand503 3 жыл бұрын
very good tutorial
@pbezanillat
@pbezanillat 3 жыл бұрын
Nice video, thanks !
@nstr111
@nstr111 2 жыл бұрын
very nice
@WillBrock
@WillBrock 2 жыл бұрын
Thanks!
@ChanceMinus
@ChanceMinus 4 жыл бұрын
Fantastic! Thank you...
@mrbeats7434
@mrbeats7434 4 жыл бұрын
thanks man. Well done
@gouthamreddy1269
@gouthamreddy1269 3 жыл бұрын
Thank you
@duckboymiro3533
@duckboymiro3533 3 жыл бұрын
11:04 what was it very nice tutorial tho
@ifeanya7856
@ifeanya7856 2 жыл бұрын
why's he always saying/using foobar? confuses the heck outta me 😩
@liyuling1984
@liyuling1984 2 жыл бұрын
1.25x speed feels good
@WillBrock
@WillBrock 2 жыл бұрын
Love it
@GravitySucks2000
@GravitySucks2000 3 жыл бұрын
i think is by far the best tutorial , thank you so very much..
@ksundar369gmail
@ksundar369gmail 2 жыл бұрын
Can I call these modules from the root main file by passing variables in the form of tfvars?
@DominusObiscum
@DominusObiscum 4 жыл бұрын
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 4 жыл бұрын
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
@oronboyxd69
@oronboyxd69 3 жыл бұрын
very helpful!
@rawanalsubhi7316
@rawanalsubhi7316 4 жыл бұрын
Perfect explanation
Workspaces | Terraform Tutorial | #16
19:17
Will Brock
Рет қаралды 48 М.
Data Sources | Terraform Tutorial | #10
14:21
Will Brock
Рет қаралды 51 М.
Life hack 😂 Watermelon magic box! #shorts by Leisi Crazy
00:17
Leisi Crazy
Рет қаралды 79 МЛН
Synyptas 4 | Жігіттер сынып қалды| 3 Bolim
19:27
kak budto
Рет қаралды 1,3 МЛН
Using docker in unusual ways
12:58
Dreams of Code
Рет қаралды 456 М.
Terraform Tips & Tricks: loops, if-statements, and more
27:21
Anton Putra
Рет қаралды 18 М.
Mindset of Successful Programmers
4:56
bigboxSWE
Рет қаралды 1,1 МЛН
Modules and Outputs with Terraform and Azure
28:02
Travis Roberts
Рет қаралды 32 М.
8 Terraform Best Practices that will improve your TF workflow immediately
8:57
Terraform with Multiple State Files
26:14
Michael Crilly
Рет қаралды 21 М.
Terraform Explained
8:44
IBM Technology
Рет қаралды 278 М.
Here's The Secret How To Create These Animated Diagrams
11:12
Amigoscode
Рет қаралды 463 М.