-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

HashiCorp Terraform Associate (003) Exam Guide
By :

Depending on the criteria one uses, modules can be classified in multiple ways. Figure 5.1 shows the classification of modules based on two important criteria:
terraform plan
/apply
is run):Figure 5.1: Types of modules
Now that you have seen the types of modules, it is time to take a look at each module type in detail in the following section.
Any folder with a set of Terraform configuration files to create infrastructure objects can be called a root module.
If the Terraform module is a template, someone must instantiate it, that is, make a copy of the infrastructure objects using the template. This is where the root module comes in.
The root module is the primary entry point for the module. This is the directory with the configuration files where the user...