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 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
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!
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!!
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 ;)
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 👍
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.
@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.
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.
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
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).
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 .
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 ?
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.
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 ?
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
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
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 ?
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.
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???
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 ??
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.
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 ?
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
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?
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
Best terraform tutorial I have seen so far. Thank you for sharing.
Thanks, glad you liked it!
@@WillBrock 😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊
This is the best tutorial on Terraform modules I've come across so far. Thank you so much!
Awesome!
The only Terraform teacher I understand 😂 Thank you! 😃
Awesome, glad it was helpful
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.
Thanks for the kind words Maurice! I have thought about doing paid courses, maybe sometime in the future.
@@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
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!!
Awesome, glad it was helpful :)
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!
Awesome, glad to hear!
Great video! What I needed!
Shift+alt+f to auto format instead of all the space clicking!
Great!
You are the best. Watching from South Africa. Thank you!
Awesome, thanks for watching!
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!!
Awesome!!
OMG finally someone came up with a decent terraform hands on tutorial ! thank you so very much !!!
Glad it was helpful :)
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 ;)
Awesome, glad it was helpful
This is the best video I have seen so far regarding TF module. Thanks
Glad to hear :)
It's really made me to understand better on tf modules. .
Woo. Thank you. I really got a lot from this videos more than the thousand of hrs spent watching other videos. Thanks
Awesome, glad to hear!
Great Tutorial, i understood the basics of modules completely with this video. Well worth the 30 minutes . Thank you
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 👍
Thanks for the kind words. I'm glad they have been helpful.
By far the best terraform video !!!
Glad you liked it!
Brilliant modules tutorial , the simplicity and breakdown. Thanks a million Will.
Great! I'm glad it was helpful
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.
Thanks for the kind words and tips!
Awesome.. straight to the point.. and clear.. described for a newbie in mind.
Keep doing what your doing! You channel will grow. Enjoying your content
Thanks for the kind words!
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!
Awesome, I'm glad it has helped you!
@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.
Ah.. didnt know that.. Thanks 👍
Best terraform tutorial
i think is by far the best tutorial , thank you so very much..
great tutorial! I was struggling with modules and this cleared a lot of stuff for me. Thanks!
I agree
Very well explained. Thank you!
Great!
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.
Thanks for the kind words. Haven't had time to create new videos but hopefully at some point I'll do some more
Solid tutorial. Thank you!
Superb Explanation. Thanks
Glad it was helpful!
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
Glad to help
Amazing and very clear explanation! Thanks a lot
You are the man!
I am now a pro in TF.
Awesome!!
the best tutorial ever
Thanks!
Really well explained tutorial on modules. Thanks Will !
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).
Awesome! Glad to hear
I watched this on a Friday night.
Best time to watch :)
Best explanation on youtube. Really gr8 work man
Thanks a ton!
Thanks man .. appreciate your effort
This is best ..... Keep rocking will
Thanks!
Thank you so much for this playlist!!! we all really appreciate it!
Good one, keep it up!
this guy is awesome 👏 🙌
Thanks!
awesome explanation sir
Thanks!
Really REALLY great tutorial - thank you Will
Glad it was helpful
Thank you so much! It helped me a lot!! New subscribed!
Awesome, glad it has been helpful
Thank you Will, for this amazing video.
No problem. Glad you liked it.
Nicely explained. Thanks much.
Absolutely wonderful.
Please create video on how to use remote module. Have you worked on MongoDb provider in Terraform
Thanks Will. Great videos.
You’re amazing, these videos are coming in clutch. Subscribed.
very helpful!
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 .
Outstanding video.
Thank you Will, that was a very clear explanation
No problem!
Perfect explanation 👌🏾 thank u
Great video!
Thanks!
Amazing tutorial
Perfect explanation
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 ?
very nice
Thanks!
very good tutorial
Fantastic! Thank you...
Nice video, thanks !
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.
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 ?
Question in the directory structure, why are you calling under setup/main.tf....why is not from webserber/main.tf??
What if your module directory which you are sourcing, like in this case webserver has its own provider file?
thanks man. Well done
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
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
Thank you
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 ?
great tutorial! but how can i define a global variable which accessible for all modules?
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.
In terraform 0.13 you can use depends_on like you can with other resources.
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???
yes, we can split them and call them from main.tf using source
Can I call these modules from the root main file by passing variables in the form of tfvars?
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 ??
Thanks Will, How do you run "a" module 1st and then only "b" module 2nd. ? Please let me know.
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.
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.
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?
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 ?
thanks again, is there any way we can contribute to your work? tipee ?
I've got venmo. wpbrock is the handle
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
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?
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
11:04 what was it
very nice tutorial tho
1.25x speed feels good
Love it
why's he always saying/using foobar? confuses the heck outta me 😩