HashiCorp
TERRAFORM-ASSOCIATE-004 · Question #26
Which of the following statements about Terraform modules is not true?
The correct answer is C. Modules must be publicly accessible. This is not true, as modules can be either public or private, depending on your needs and preferences. You can use the Terraform Registry to publish and consume public modules, or use Terraform Cloud or Terraform Enterprise to host and manage private modules.
Submitted by daniela_cl· Apr 18, 2026Work with Terraform Modules
Question
Which of the following statements about Terraform modules is not true?
Options
- AModules can call other modules
- BA module is a container for one or more resources
- CModules must be publicly accessible
- DYou can call the same module multiple times
How the community answered
(37 responses)- A5% (2)
- B3% (1)
- C89% (33)
- D3% (1)
Explanation
This is not true, as modules can be either public or private, depending on your needs and preferences. You can use the Terraform Registry to publish and consume public modules, or use Terraform Cloud or Terraform Enterprise to host and manage private modules.
Topics
#Terraform modules#Module sources#Module composition#Module reusability
Community Discussion
No community discussion yet for this question.