Recall & Review
beginner
What is the root module in Terraform?
The root module is the main folder where you run Terraform commands. It contains the primary configuration files that define your infrastructure.
Click to reveal answer
beginner
How does Terraform find the root module?
Terraform looks in the current working directory where you run the commands. This directory is the root module.
Click to reveal answer
intermediate
Can the root module call other modules?
Yes, the root module can include other modules to organize and reuse infrastructure code.
Click to reveal answer
beginner
Why is the root module important in Terraform?
It acts like the main blueprint for your infrastructure. All Terraform commands start here, and it controls how other modules fit together.
Click to reveal answer
beginner
What files are typically found in the root module?
Files like main.tf, variables.tf, outputs.tf, and terraform.tfstate are usually in the root module folder.
Click to reveal answer
Where does Terraform look for the root module?
✗ Incorrect
Terraform uses the current working directory as the root module location.
What is the main role of the root module?
✗ Incorrect
The root module defines the main infrastructure setup and configuration.
Can the root module include other modules?
✗ Incorrect
The root module can call other modules to organize and reuse infrastructure code.
Which file is NOT typically part of the root module?
✗ Incorrect
index.html is not related to Terraform configuration files.
What happens if you run Terraform commands outside the root module directory?
✗ Incorrect
Terraform needs to run in the root module directory to find configuration files.
Explain what the root module is and why it is important in Terraform.
Think of the root module as the main folder where Terraform looks first.
You got /3 concepts.
Describe how the root module interacts with other modules in a Terraform project.
Consider the root module as the main blueprint that includes smaller blueprints.
You got /3 concepts.