Module Registry — HashiCorp Terraform Associate (003) Practice Questions
The Terraform Module Registry, hosted at registry.terraform.io, is the public repository where the community and verified partners publish reusable Terraform modules that can be sourced directly in configuration. Modules on the public registry follow a standard naming convention and versioning scheme, allowing `terraform init` to download them automatically. The exam tests how to reference a registry module using the `source` argument, how to specify module versions, and the difference between the public registry and private registries available in Terraform Cloud.
Free questions on module registry
A Terraform engineer wants to reuse a set of resource definitions across multiple environments without duplicating code. The engineer should package the configuration as a module stored in a private registry. When calling the module, which argument specifies the module's source location in a Terraform Registry?
Free question · easy · full answer + explanation
More module registry questions in the full bank
- What is the module registry? Unlock answer & explanation →
- What is used to fetch and store module source from registry? Unlock answer & explanation →
- What is the correct syntax for using a module from the Terraform Registry? Unlock answer & explanation →