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!!
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.
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 👍
@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.
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).
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
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.
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 ??
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.
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 ?
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 ?
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 ?
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 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.
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
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
The only Terraform teacher I understand 😂 Thank you! 😃
Awesome, glad it was helpful
Best terraform tutorial I have seen so far. Thank you for sharing.
Thanks, glad you liked it!
@@WillBrock 😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊
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 :)
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
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!
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!!
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!
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 :)
OMG finally someone came up with a decent terraform hands on tutorial ! thank you so very much !!!
Glad it was helpful :)
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.
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
Brilliant modules tutorial , the simplicity and breakdown. Thanks a million Will.
Great! I'm glad it was helpful
Keep doing what your doing! You channel will grow. Enjoying your content
Thanks for the kind words!
great tutorial! I was struggling with modules and this cleared a lot of stuff for me. Thanks!
I agree
You are the best. Watching from South Africa. Thank you!
Awesome, thanks for watching!
@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 👍
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!
Awesome.. straight to the point.. and clear.. described for a newbie in mind.
Great video! What I needed!
Shift+alt+f to auto format instead of all the space clicking!
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
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
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
By far the best terraform video !!!
Glad you liked it!
Really well explained tutorial on modules. Thanks Will !
Amazing and very clear explanation! Thanks a lot
It's really made me to understand better on tf modules. .
Best explanation on youtube. Really gr8 work man
Thanks a ton!
Thank you so much for this playlist!!! we all really appreciate it!
Really REALLY great tutorial - thank you Will
Glad it was helpful
You are the man!
I am now a pro in TF.
Awesome!!
Very well explained. Thank you!
Great!
You’re amazing, these videos are coming in clutch. Subscribed.
Superb Explanation. Thanks
Glad it was helpful!
Thank you Will, for this amazing video.
No problem. Glad you liked it.
Solid tutorial. Thank you!
Best terraform tutorial
Outstanding video.
the best tutorial ever
Thanks!
Thanks Will. Great videos.
Thank you Will, that was a very clear explanation
No problem!
Absolutely wonderful.
This is best ..... Keep rocking will
Thanks!
Thanks man .. appreciate your effort
Thank you so much! It helped me a lot!! New subscribed!
Awesome, glad it has been helpful
Nicely explained. Thanks much.
awesome explanation sir
Thanks!
this guy is awesome 👏 🙌
Thanks!
Please create video on how to use remote module. Have you worked on MongoDb provider in Terraform
Perfect explanation 👌🏾 thank u
Good one, keep it up!
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 .
I watched this on a Friday night.
Best time to watch :)
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.
Great video!
Thanks!
Amazing tutorial
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
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 ??
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.
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 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 ?
What if your module directory which you are sourcing, like in this case webserver has its own provider file?
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 ?
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 ?
Question in the directory structure, why are you calling under setup/main.tf....why is not from webserber/main.tf??
very good tutorial
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?
Nice video, thanks !
Fantastic! Thank you...
very nice
Thanks!
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
thanks again, is there any way we can contribute to your work? tipee ?
I've got venmo. wpbrock is the handle
thanks man. Well done
great tutorial! but how can i define a global variable which accessible for all modules?
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.
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
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
Thank you
1.25x speed feels good
Love it
11:04 what was it
very nice tutorial tho
why's he always saying/using foobar? confuses the heck outta me 😩
Perfect explanation
very helpful!