From the course: Advanced Terraform
Unlock the full course today
Join today to access over 23,400 courses taught by industry experts.
Analyzing a module - Terraform Tutorial
From the course: Advanced Terraform
Analyzing a module
- [Instructor] So far, we've learned quite a few things about Terraform. We've covered expressions, functions, looping and variables. These have been simple examples of what each of these features do and how they work. Real world configurations can get quite a bit more sophisticated and that's where modules really shine. They abstract away that complexity. We can create highly complex configurations with just a few lines in the root module and delegate that complexity to a child module. There's lots of advanced techniques to be found inside modules, so studying modules is a great way to learn how to apply Terraform to advanced use cases. In this video, we're going to peak under the hood of the Service Accounts Module. If you haven't watched the video on using modules yet, you'll want to go back and watch that one first. Public Terraform modules are listed in the Terraform Registry here but the code for them is listed…