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?
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.
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
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?
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".
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
There’s nobody better than Travis explaining Terraform 👍🏻👍🏻
Thanks!
Honestly the best, clearest & yet detailed intro guides - So happy I found your channel! Thank you Travis!
Awesome, thank you!
TRAVIS ----- MARVELLOUS EXPLANATION ....EXCELLENT .....I APPERECIATE YOUR HARD WORK TO MAKE THIS VIDEO FOR TERRAFORM MODULES !!!
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.
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!!!
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!
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 way you explained things made it easier for me to understand Terraform. Thanks!
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!!
Why didnt I discover this before! Tf with Azure is so rare, this is beauty.. PLease continue this one, long way to go!
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.
yes, there is no one can better explain than Travis.
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.
This is the best resource I have found for me to be able to understand modules! Thank you!!
This video is simply great. You made a lot of effort to make it easy to understand
Very simple and great content. Thanks a lot Travis
thanks for this video, was struggling to understand the real motivation behind using modules in Terraform.
great explanation, thank you Travis.
Thanks Travis.... This is a very much to the point..
This was honestly a great video!
Very informative. Is there a complete session on the terraform course with GCP?
Nice Explanation ... Superb..
the best ever !!!! thanks for this
Output part at the end help me . As i was unable to see the output from root module. Thanks alot!
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?
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.
WOW! This was so helpful. Thanks a lot!
Excellent stuff!
Great playlist!
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
Great stuff! Well prepared!
i understood clearly,Thanks
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?
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
what is the use of this base_name variable in this video @ 8:20. Please help me understand this
Very well explained
Very good content!
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".
@Travis Roberts can you make a video on child modules to create multiple resources with loop
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
This one started getting bit confusing for me. earlier 3 videos in seriew were like handholding one.
You are Awesome , as always..
Thank you so much 😀
Thanks Travis
thank you !
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.