How to write reusable module using Terraform
Date published:
I had the pleasure of speaking at ComeCloudWithUS on the 18th of May, 2023. I had fun meeting Chris and Abdul, the event organisers. I presented a session about how to write reusable modules using Terraform with Thomas Thornton.
What is a Terraform Module?
A Terraform module is a set of Terraform configuration files in a single directory. When you run Terraform commands directly from such a directory, it is called the root module. A root module can call other modules, called a child module, if it is called by a root module or a parent module if it calls other modules.
Why use Terraform Module?
Terraform modules allow you to create reusable components used across your entire infrastructure or by multiple teams.