I wasted all my day trying to understand how to pass outputs between child and parent and the only thing i should have done was watch this video! Dozens of tutorials and videos and no one has explained this like you have! Congrats!!!
Hail Traveler. If you are looking for the clearest explanation and demonstration of passing generated values between modules, then you’ve found it. This video prevented me from nigh on jumping off the roof! The documentation is not fantastic on this subject (module composition), and even with this crystal clear explanation, it’s still likely to result in some experimentation before everything clicks into place. Thank you for making this.
Thank you for showing a simple example of how to consume an output variable from a module! Your demos are great - you keep the code simple and to the point - thank you!!
thank you for a lovely video. really appreciate it! One question though, what happens if we repeatedly run the code with terraform apply, wouldn't it create multiple storage accounts as the random module would generate a new string every time we run the code, which is not intended?
Thanks heaps for this tutorial. My two cents. You must supply output (rg_name_out) to storage account module block in root module to establish the dependacy of stroage ac module on rg module. If you just hard code rg name in root module you will get 404 (resource rg not found error) because terraform cant establish the link between storage and rg resource
Travis, a couple of things: 1. How do I import something... a service principal, for instance. 2. What if I had to cancel an apply because it just kept running and running.
I have been tasked with creating dozens, if not hundreds, of new site listeners, rules, probes, etc. in Application Gateway in the coming months. Is terraform the best approach, or are there better solutions for rapid scale out deployment? I currently have PowerShell scripts that work perfectly for a one-off site. Thanks, Tim
Very helpful video. If we do a for-each over a map inside the main.tf in root path to create 2 storage group then in that case how do we write the output file . I am getting an error as follows. Could you kindly help. │ │ module.resources is object with 2 attributes │ │ This object does not have an attribute named "stg_account_name".
Hi Travis, sorry for the noob question. I'm curious why the variables base_name and location are duplicated in two modules StorageAccount and ResourceGroup. Can you expand on that?
How to use the data source block .... On modules My task is I have resources group existing now am trying to add resources under that resources group .... How can I achive this ? I want to add storage account on the resources group that is already existing ... Created manually. Folder structure : Dev Main tf Test Main.tf Modules Resources group Main.tf Var.tf Storage account
Honestly the best, clearest & yet detailed intro guides - So happy I found your channel! Thank you Travis!
Awesome, thank you!
There’s nobody better than Travis explaining Terraform 👍🏻👍🏻
Thanks!
TRAVIS ----- MARVELLOUS EXPLANATION ....EXCELLENT .....I APPERECIATE YOUR HARD WORK TO MAKE THIS VIDEO FOR TERRAFORM MODULES !!!
I wasted all my day trying to understand how to pass outputs between child and parent and the only thing i should have done was watch this video! Dozens of tutorials and videos and no one has explained this like you have! Congrats!!!
Dude, you are such a gift to the world. I was struggling so hard at my job until I found this series.
Thanks for that! I'm glad it was helpful.
Hail Traveler. If you are looking for the clearest explanation and demonstration of passing generated values between modules, then you’ve found it. This video prevented me from nigh on jumping off the roof! The documentation is not fantastic on this subject (module composition), and even with this crystal clear explanation, it’s still likely to result in some experimentation before everything clicks into place. Thank you for making this.
Thank you!
The best and simplest example I have seen to understand what the hell is module?.. Crystal clear!!
I've been going through a lot of examples, blogs, videos, but this one really helped me understand how to setup and use modules. Thanks!
Thanks a lot for a easy to follow explanation on Module blocks
The way you explained things made it easier for me to understand Terraform. Thanks!
Why didnt I discover this before! Tf with Azure is so rare, this is beauty.. PLease continue this one, long way to go!
Thank you for showing a simple example of how to consume an output variable from a module! Your demos are great - you keep the code simple and to the point - thank you!!
thanks for this video, was struggling to understand the real motivation behind using modules in Terraform.
Modules were hard to grasp; This definitely helped clarify what to do. I was getting confused with the file paths and systems. Thanks a lot.
Travis, you are indeed an educator in this space. I'v always enjoyed your videos and very explicit in communicating the message. Thanks and well done.
This video is simply great. You made a lot of effort to make it easy to understand
This is the best resource I have found for me to be able to understand modules! Thank you!!
Very simple and great content. Thanks a lot Travis
Output part at the end help me . As i was unable to see the output from root module. Thanks alot!
yes, there is no one can better explain than Travis.
great explanation, thank you Travis.
Nice Explanation ... Superb..
Thanks Travis.... This is a very much to the point..
This was honestly a great video!
thank you for a lovely video. really appreciate it! One question though, what happens if we repeatedly run the code with terraform apply, wouldn't it create multiple storage accounts as the random module would generate a new string every time we run the code, which is not intended?
Great playlist!
Very informative. Is there a complete session on the terraform course with GCP?
Excellent stuff!
what is the use of this base_name variable in this video @ 8:20. Please help me understand this
WOW! This was so helpful. Thanks a lot!
Thanks heaps for this tutorial.
My two cents. You must supply output (rg_name_out) to storage account module block in root module to establish the dependacy of stroage ac module on rg module. If you just hard code rg name in root module you will get 404 (resource rg not found error) because terraform cant establish the link between storage and rg resource
i understood clearly,Thanks
Very well explained
Very good content!
Great stuff! Well prepared!
excellent video.
Travis, a couple of things: 1. How do I import something... a service principal, for instance. 2. What if I had to cancel an apply because it just kept running and running.
I have been tasked with creating dozens, if not hundreds, of new site listeners, rules, probes, etc. in Application Gateway in the coming months. Is terraform the best approach, or are there better solutions for rapid scale out deployment? I currently have PowerShell scripts that work perfectly for a one-off site. Thanks, Tim
Very helpful video.
If we do a for-each over a map inside the main.tf in root path to create 2 storage group then in that case how do we write the output file .
I am getting an error as follows. Could you kindly help.
│ │ module.resources is object with 2 attributes
│
│ This object does not have an attribute named "stg_account_name".
Thanks Travis
Hi Travis, sorry for the noob question. I'm curious why the variables base_name and location are duplicated in two modules StorageAccount and ResourceGroup. Can you expand on that?
@Travis Roberts can you make a video on child modules to create multiple resources with loop
thank you !
You are Awesome , as always..
Thank you so much 😀
This one started getting bit confusing for me. earlier 3 videos in seriew were like handholding one.
How to use the data source block .... On modules
My task is I have resources group existing now am trying to add resources under that resources group ....
How can I achive this ?
I want to add storage account on the resources group that is already existing ... Created manually.
Folder structure :
Dev
Main tf
Test
Main.tf
Modules
Resources group
Main.tf
Var.tf
Storage account
made it easy
you are not a real developer. windows in WHITE theme and VS is White theme too. Who are you imposter ?
You caught me :) The higher contrast light theme is so much better for videos and presentations.